3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars = array('volvo','proton','bmw'); $spec = count($cars); for($x = 0; $x = $spec; $x++) { echo $x[$cars]; } ?>

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.0150.00618.43
8.3.50.0110.00417.87
8.3.40.0030.01218.79
8.3.30.0090.00618.80
8.3.20.0080.00020.25
8.3.10.0080.00020.61
8.3.00.0070.00021.88
8.2.180.0100.01016.50
8.2.170.0120.00322.96
8.2.160.0100.00322.20
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0060.00320.39
8.2.120.0040.00426.35
8.2.110.0060.00321.05
8.2.100.0110.00317.84
8.2.90.0060.00319.20
8.2.80.0030.00617.97
8.2.70.0000.00817.50
8.2.60.0090.00018.04
8.2.50.0000.00818.10
8.2.40.0030.00520.44
8.2.30.0070.00019.29
8.2.20.0040.00418.06
8.2.10.0000.00718.07
8.2.00.0000.00718.06
8.1.280.0110.00325.92
8.1.270.0040.00421.98
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00720.80
8.1.230.0050.00517.76
8.1.220.0080.00017.79
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0000.00717.22
8.1.180.0080.00018.10
8.1.170.0000.00818.69
8.1.160.0000.00718.87
8.1.150.0000.00720.33
8.1.140.0070.00019.13
8.1.130.0030.00318.95
8.1.120.0030.00317.48
8.1.110.0040.00417.53
8.1.100.0050.00217.41
8.1.90.0070.00017.41
8.1.80.0040.00417.47
8.1.70.0030.00317.54
8.1.60.0030.00517.61
8.1.50.0000.00817.57
8.1.40.0000.00917.54
8.1.30.0040.00417.67
8.1.20.0050.00217.57
8.1.10.0000.00717.55
8.1.00.0030.00917.57
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00818.34
8.0.270.0030.00317.18
8.0.260.0030.00318.87
8.0.250.0030.00316.88
8.0.240.0040.00416.85
8.0.230.0040.00416.80
8.0.220.0040.00416.84
8.0.210.0070.00016.65
8.0.200.0030.00316.88
8.0.190.0040.00416.78
8.0.180.0040.00416.80
8.0.170.0030.00516.93
8.0.160.0000.00816.93
8.0.150.0070.00016.85
8.0.140.0080.00016.88
8.0.130.0000.00513.37
8.0.120.0040.00416.88
8.0.110.0030.00316.84
8.0.100.0000.00816.86
8.0.90.0080.00016.70
8.0.80.0140.00316.85
8.0.70.0000.00716.70
8.0.60.0040.00416.79
8.0.50.0000.00716.86
8.0.30.0130.00917.04
8.0.20.0110.01217.40
8.0.10.0050.00216.91
8.0.00.0040.01616.63
7.4.330.0000.00515.55
7.4.320.0040.00416.46
7.4.300.0060.00016.49
7.4.290.0040.00416.42
7.4.280.0040.00416.51
7.4.270.0060.00516.37
7.4.260.0000.00716.46
7.4.250.0030.00316.32
7.4.240.0030.00316.39
7.4.230.0000.00716.45
7.4.220.0080.00916.38
7.4.210.0030.01216.44
7.4.200.0030.00316.28
7.4.160.0100.00816.47
7.4.150.0150.00617.40
7.4.140.0140.00717.86
7.4.130.0100.01416.52
7.4.120.0130.01116.31
7.4.110.0110.01116.59
7.4.100.0130.01316.43
7.4.90.0170.00916.42
7.4.80.0130.01319.39
7.4.70.0100.00716.44
7.4.60.0100.00716.39
7.4.50.0030.01416.43
7.4.40.0160.00316.52
7.4.30.0110.00916.53
7.3.330.0031.99713.18
7.3.320.0032.00013.07
7.3.310.0031.99916.32
7.3.300.0071.99716.25
7.3.290.0101.99116.27
7.3.280.0221.68916.25
7.3.270.0171.99017.40
7.3.260.0151.98216.37
7.3.250.0141.98516.27
7.3.240.0091.99616.27
7.3.230.0251.97416.37
7.3.210.0152.43116.25
7.3.200.0102.44916.44
7.3.190.0072.47816.27
7.3.180.0202.46116.43
7.3.170.0202.43416.30
7.3.160.0202.43616.19
7.2.330.0132.46416.42
7.2.320.0002.48116.43
7.2.310.0072.35516.41
7.2.300.0631.08616.47
7.2.290.0102.46716.36
7.2.00.0172.44017.44
7.1.120.0072.48416.81
7.1.110.0602.41316.27
7.1.100.0172.48015.88

preferences:
33.08 ms | 400 KiB | 5 Q