3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "apple"; $b= sha1($a); echo $b; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.00716.63
8.3.50.0110.00721.19
8.3.40.0140.00018.84
8.3.30.0070.00718.58
8.3.20.0040.00420.90
8.3.10.0050.00323.65
8.3.00.0040.00420.63
8.2.180.0130.00316.63
8.2.170.0150.00422.96
8.2.160.0070.00721.23
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00422.26
8.2.120.0030.00526.35
8.2.110.0090.00021.07
8.2.100.0090.00317.84
8.2.90.0000.00819.06
8.2.80.0040.00417.97
8.2.70.0050.00317.38
8.2.60.0040.00418.03
8.2.50.0030.00618.10
8.2.40.0040.00422.18
8.2.30.0030.00619.11
8.2.20.0030.00517.54
8.2.10.0050.00218.02
8.2.00.0080.00018.16
8.1.280.0140.00725.92
8.1.270.0040.00423.88
8.1.260.0060.00328.09
8.1.250.0040.00428.09
8.1.240.0030.00623.96
8.1.230.0070.00417.70
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0030.00717.23
8.1.190.0000.00817.10
8.1.180.0060.00318.10
8.1.170.0060.00318.51
8.1.160.0040.00422.13
8.1.150.0050.00318.74
8.1.140.0070.00019.41
8.1.130.0000.00717.63
8.1.120.0030.00617.44
8.1.110.0030.00417.27
8.1.100.0070.00017.38
8.1.90.0070.00017.34
8.1.80.0040.00417.34
8.1.70.0000.00717.32
8.1.60.0000.00817.40
8.1.50.0080.00017.44
8.1.40.0000.00817.47
8.1.30.0040.00417.51
8.1.20.0000.00717.49
8.1.10.0000.00717.36
8.1.00.0060.00317.41
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0040.00418.42
8.0.270.0030.00317.25
8.0.260.0000.00817.20
8.0.250.0000.00716.82
8.0.240.0030.00516.82
8.0.230.0070.00016.88
8.0.220.0030.00416.72
8.0.210.0000.00716.88
8.0.200.0030.00316.77
8.0.190.0040.00416.86
8.0.180.0040.00416.84
8.0.170.0030.00616.81
8.0.160.0000.00716.74
8.0.150.0050.00216.65
8.0.140.0040.00316.69
8.0.130.0000.00613.20
8.0.120.0030.00616.83
8.0.110.0040.00416.75
8.0.100.0070.00016.68
8.0.90.0000.00716.68
8.0.80.0110.00716.82
8.0.70.0040.00416.83
8.0.60.0040.00416.61
8.0.50.0030.00516.88
8.0.30.0110.00916.94
8.0.20.0090.01017.40
8.0.10.0070.00016.89
8.0.00.0100.00516.59
7.4.330.0060.00015.08
7.4.320.0040.00416.55
7.4.300.0000.00616.57
7.4.290.0000.00716.42
7.4.280.0000.00716.35
7.4.270.0030.00516.41
7.4.260.0030.00716.41
7.4.250.0000.00716.34
7.4.240.0080.00016.54
7.4.230.0030.00316.61
7.4.220.0060.01316.54
7.4.210.0100.01016.47
7.4.200.0080.00016.31
7.4.160.0040.01216.31
7.4.150.0050.01517.40
7.4.140.0100.00817.86
7.4.130.0120.00716.36
7.4.120.0080.01116.36
7.4.110.0100.01016.57
7.4.100.0060.01716.41
7.4.90.0040.01916.41
7.4.80.0170.00419.39
7.4.70.0000.01516.42
7.4.60.0140.00716.42
7.4.50.0030.01016.32
7.4.40.0040.01216.40
7.4.30.0110.00616.54
7.4.00.0040.01114.81
7.3.330.0030.00313.06
7.3.320.0000.00513.08
7.3.310.0050.00316.09
7.3.300.0000.00716.19
7.3.290.0080.00816.17
7.3.280.0090.00816.17
7.3.270.0100.00717.40
7.3.260.0130.00616.32
7.3.250.0110.00716.28
7.3.240.0080.00916.43
7.3.230.0100.00616.39
7.3.210.0090.01216.55
7.3.200.0090.00616.49
7.3.190.0070.01016.12
7.3.180.0030.01216.23
7.3.170.0030.01416.25
7.3.160.0070.01016.22
7.2.330.0080.01116.54
7.2.320.0040.01516.59
7.2.310.0060.01716.47
7.2.300.0130.00416.49
7.2.290.0090.00916.59
7.2.60.0030.00716.32
7.2.00.0080.00619.09
7.1.200.0150.00615.21
7.1.70.0030.00616.95
7.1.60.0090.00319.81
7.1.00.0100.07022.44
7.0.200.0080.00614.86
7.0.100.1230.06719.96
7.0.90.0230.04719.97
7.0.80.0230.05019.95
7.0.70.0270.05719.90
7.0.60.0130.06020.06
7.0.50.1170.06320.24
7.0.40.0230.06720.33
7.0.30.0400.05720.35
7.0.20.0300.06320.33
7.0.10.0300.06320.30
7.0.00.0270.06320.37
5.6.250.0170.06020.66
5.6.240.0130.05320.75
5.6.230.0130.06320.63
5.6.220.0170.07320.48
5.6.210.0130.06020.75
5.6.200.0230.07021.01
5.6.190.0170.05721.10
5.6.180.0130.05321.07
5.6.170.0070.06321.07
5.6.160.0100.05721.16
5.6.150.0100.06021.09
5.6.140.0100.06721.13
5.6.130.0170.06321.05
5.6.120.0170.07021.09
5.6.110.0370.07021.04
5.6.100.0100.05721.05
5.6.90.0130.05721.06
5.6.80.0100.05720.49
5.6.70.0300.04720.54
5.6.60.0100.06720.41
5.6.50.0070.06020.46
5.6.40.0130.05320.38
5.6.30.0170.05020.43
5.6.20.0130.05020.42
5.6.10.0200.06020.46
5.6.00.0130.06320.39

preferences:
53.23 ms | 401 KiB | 5 Q