3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = null; var_dump($a+= 1); $a = null; var_dump($a = $a + 1); $a = null; var_dump($a++);

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.30.0090.00820.10
8.5.20.0110.00720.14
8.5.10.0130.00518.64
8.5.00.0130.00819.95
8.4.180.0120.01019.57
8.4.170.0080.01323.92
8.4.160.0090.01223.75
8.4.150.0080.00416.84
8.4.140.0160.00517.43
8.4.130.0120.00817.90
8.4.120.0140.00620.43
8.4.110.0080.00322.25
8.4.100.0110.01017.73
8.4.90.0100.01318.51
8.4.80.0060.00217.63
8.4.70.0110.00919.65
8.4.60.0140.00718.57
8.4.50.0100.01124.04
8.4.40.0120.00417.56
8.4.30.0040.00425.71
8.4.20.0100.01019.54
8.4.10.0130.00618.57
8.3.300.0100.01024.37
8.3.290.0140.00718.38
8.3.280.0080.00416.09
8.3.270.0080.01116.75
8.3.260.0110.00816.77
8.3.250.0130.00518.88
8.3.240.0120.00416.44
8.3.230.0100.00816.66
8.3.220.0050.00217.28
8.3.210.0130.00616.75
8.3.200.0060.00316.86
8.3.190.0100.00517.02
8.3.180.0110.00918.45
8.3.170.0030.01618.39
8.3.160.0120.00316.67
8.3.150.0100.01017.08
8.3.140.0030.00616.60
8.3.130.0040.00418.61
8.3.120.0040.00418.85
8.3.110.0110.00420.94
8.3.100.0050.00516.80
8.3.90.0090.00926.77
8.3.80.0080.00316.70
8.3.70.0040.01116.63
8.3.60.0040.01116.50
8.3.50.0090.00620.20
8.3.40.0140.00319.07
8.3.30.0150.00018.96
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.300.0160.00417.99
8.2.290.0100.00620.51
8.2.280.0070.00118.48
8.2.270.0160.00317.01
8.2.260.0080.00020.88
8.2.250.0060.00316.50
8.2.240.0040.00718.16
8.2.230.0090.00022.58
8.2.220.0050.00324.06
8.2.210.0130.00626.77
8.2.200.0040.00416.63
8.2.190.0000.01516.63
8.2.180.0100.01025.92
8.2.170.0110.00718.91
8.2.160.0110.00322.96
8.2.150.0000.00725.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0060.00320.46
8.2.100.0080.00320.47
8.1.340.0190.00818.28
8.1.330.0090.00921.88
8.1.320.0090.00216.20
8.1.310.0120.00616.18
8.1.300.0060.00315.96
8.1.290.0100.00030.84
8.1.280.0140.00325.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00418.64
8.1.230.0090.00020.45
8.1.30.0080.00117.52

preferences:
97.49 ms | 844 KiB | 5 Q