3v4l.org

run code in 300+ PHP versions simultaneously
<?php ${1} = "value"; ${2} = "DOGE"; for (${152} = 1; ${152} <= 2; ${152}++) { ${666} = $${152}; print(${666}); }

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.5.10.0100.00816.54
8.5.00.0150.00619.90
8.4.160.0090.01223.72
8.4.150.0020.00014.05
8.4.140.0130.01117.84
8.4.130.0120.00917.58
8.4.120.0080.00423.75
8.4.110.0140.00624.01
8.4.100.0120.00817.70
8.4.90.0120.00920.52
8.4.80.0040.00418.75
8.4.70.0060.00218.67
8.4.60.0080.00618.68
8.4.50.0120.00819.43
8.4.40.0100.01319.48
8.4.30.0390.00717.08
8.4.20.0210.01017.32
8.4.10.0220.00317.31
8.3.290.0120.01118.23
8.3.280.0130.00718.16
8.3.270.0140.00416.28
8.3.260.0110.00816.62
8.3.250.0040.00418.92
8.3.240.0090.00218.28
8.3.230.0130.00616.47
8.3.220.0030.00518.75
8.3.210.0050.00316.68
8.3.200.0060.00316.63
8.3.190.0050.00217.07
8.3.180.0160.00516.44
8.3.170.0040.00416.56
8.3.160.0170.00316.39
8.3.150.0210.00016.51
8.3.140.0190.00316.18
8.3.130.0140.00316.31
8.3.120.0190.00016.25
8.3.110.0170.00016.50
8.3.100.0170.00316.42
8.3.90.0110.01116.56
8.3.80.0200.00016.42
8.3.70.0140.00716.71
8.3.60.0200.00016.35
8.3.50.0170.00316.46
8.3.40.0180.00316.57
8.3.30.0140.00317.32
8.3.20.0080.00817.31
8.3.10.0120.00317.36
8.3.00.0030.00717.44
8.2.300.0150.00618.10
8.2.290.0100.00916.74
8.2.280.0090.01020.39
8.2.270.0170.00016.40
8.2.260.0170.00016.61
8.2.250.0180.00016.47
8.2.240.0050.01116.05
8.2.230.0060.01216.29
8.2.220.0110.00716.33
8.2.210.0150.00316.31
8.2.200.0120.00616.27
8.2.190.0070.01116.04
8.2.180.0120.00416.62
8.2.170.0100.00517.69
8.2.160.0120.00717.16
8.2.150.0180.00017.32
8.2.140.0170.00317.38
8.2.130.0110.00817.07
8.2.120.0140.00417.47
8.2.110.0120.00617.36
8.2.100.0150.00317.42
8.2.90.0120.00517.36
8.2.80.0120.00417.37
8.2.70.0150.00217.35
8.2.60.0070.00317.53
8.2.50.0120.00017.29
8.2.40.0060.00617.72
8.2.30.0050.00517.68
8.2.20.0070.00317.41
8.2.10.0070.00417.45
8.2.00.0100.00017.47
8.1.340.0140.00921.72
8.1.320.0090.01115.96

preferences:
30.77 ms | 403 KiB | 5 Q