3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; unset($a); var_dump($a); $x = new StdClass; $x->stuff = 'foo'; var_dump(property_exists($x, "stuff")); var_dump($x->stuff); (unset)$x->stuff; var_dump(property_exists($x, "stuff")); var_dump($x->stuff);

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.40.0150.00018.70
8.3.30.0140.00718.66
8.3.20.0080.00020.16
8.3.10.0050.00323.64
8.3.00.0090.00019.00
8.2.170.0100.01022.96
8.2.160.0070.00720.35
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0080.00019.36
8.2.120.0080.00026.35
8.2.110.0040.00722.11
8.2.100.0120.00017.80
8.2.90.0040.00419.15
8.2.80.0040.00417.97
8.2.70.0030.00517.38
8.2.60.0040.00417.68
8.2.50.0050.00318.07
8.2.40.0040.00419.18
8.2.30.0040.00420.56
8.2.20.0000.00917.61
8.2.10.0000.00817.93
8.2.00.0000.00717.91
8.1.270.0060.00323.91
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0040.00422.40
8.1.230.0060.00617.53
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0080.00017.22
8.1.190.0040.00417.00
8.1.180.0000.00718.10
8.1.170.0050.00318.69
8.1.160.0040.00421.98
8.1.150.0050.00218.79
8.1.140.0060.00319.48
8.1.130.0000.00717.57
8.1.120.0000.00817.21
8.1.110.0000.00717.39
8.1.100.0040.00317.35
8.1.90.0000.00717.25
8.1.80.0050.00217.33
8.1.70.0000.00717.25
8.1.60.0080.00017.33
8.1.50.0040.00417.42
8.1.40.0060.00317.40
8.1.30.0040.00417.41
8.1.20.0060.00317.45
8.1.10.0060.00317.38
8.1.00.0000.00817.35
8.0.300.0000.00818.77
8.0.290.0030.00316.63
8.0.280.0070.00018.26
8.0.270.0040.00417.00
8.0.260.0070.00317.16
8.0.250.0030.00316.73
8.0.240.0040.00416.88
8.0.230.0000.00816.84
8.0.220.0000.00716.74
8.0.210.0000.00716.72
8.0.200.0060.00016.89
8.0.190.0000.00716.79
8.0.180.0040.00416.86
8.0.170.0060.00316.83
8.0.160.0070.00016.75
8.0.150.0040.00416.75
8.0.140.0000.00816.81
8.0.130.0050.00013.29
8.0.120.0040.00416.68
8.0.110.0040.00416.73
8.0.100.0080.00016.66
8.0.90.0040.00416.70
8.0.80.0060.00916.82
8.0.70.0000.00716.73
8.0.60.0030.00516.77
8.0.50.0030.00516.88
8.0.30.0090.00916.89
8.0.20.0110.00817.40
8.0.10.0040.00416.83
8.0.00.0080.00916.72
7.4.330.0000.00516.70
7.4.320.0030.00316.50
7.4.300.0030.00316.55
7.4.290.0000.00716.43
7.4.280.0040.00416.61
7.4.270.0030.00316.57
7.4.260.0000.00716.49
7.4.250.0000.00716.54
7.4.240.0020.00516.52
7.4.230.0000.00716.60
7.4.220.0120.00616.63
7.4.210.0070.00716.50
7.4.200.0000.00716.43
7.4.160.0110.00416.45
7.4.150.0090.00917.40
7.4.140.0090.01117.86
7.4.130.0070.01016.58
7.4.120.0100.00816.53
7.4.110.0070.01016.56
7.4.100.0080.01116.66
7.4.90.0160.00016.56
7.4.80.0030.01319.39
7.4.70.0120.01216.69
7.4.60.0100.00716.45
7.4.50.0070.01116.37
7.4.40.0100.00716.57
7.4.30.0060.00916.47
7.4.00.0000.01614.84
7.3.330.0030.00313.05
7.3.320.0020.00213.11
7.3.310.0030.00316.41
7.3.300.0000.00616.27
7.3.290.0000.00716.19
7.3.280.0120.00716.29
7.3.270.0100.00717.40
7.3.260.0060.01016.54
7.3.250.0090.00916.49
7.3.240.0130.00916.41
7.3.230.0070.01016.39
7.3.210.0110.01116.38
7.3.200.0140.00316.29
7.3.190.0150.00616.36
7.3.180.0130.00316.26
7.3.170.0080.01016.42
7.3.160.0110.00516.22
7.2.330.0090.00916.82
7.2.320.0140.01416.79
7.2.310.0130.00316.50
7.2.300.0100.01316.71
7.2.290.0160.00716.46
7.2.60.0090.00916.68
7.2.00.0040.00819.58
7.1.200.0070.00715.75
7.1.100.0060.00618.38
7.1.70.0000.00717.29
7.1.60.0030.02119.48
7.1.50.0000.01017.12
7.1.00.0130.06322.37
7.0.200.0310.01114.66
7.0.60.0100.08319.93
7.0.50.0100.07317.76
7.0.40.0100.04320.24
7.0.30.0200.04320.01
7.0.20.0300.06320.20
7.0.10.0070.08020.17
7.0.00.0130.08019.99
5.6.280.0030.03721.11
5.6.210.0070.08020.72
5.6.200.0030.05018.19
5.6.190.0000.10020.39
5.6.180.0200.05020.63
5.6.170.0270.07720.41
5.6.160.0030.05020.50
5.6.150.0030.04718.21
5.6.140.0030.04018.09
5.6.130.0100.05718.18
5.6.120.0030.04021.11
5.6.110.0030.06320.98
5.6.100.0000.09321.07
5.6.90.0130.06020.95
5.6.80.0100.07320.39
5.5.350.4000.04020.42
5.5.340.0030.05317.98
5.5.330.0070.08020.13
5.5.320.0070.07020.33
5.5.310.0300.05020.25
5.5.300.0030.04317.91
5.5.290.0030.06717.87
5.5.280.0030.05720.89
5.5.270.0000.04320.95
5.5.260.0030.08320.76
5.5.250.0100.05720.77
5.5.240.0200.03720.37

preferences:
41.05 ms | 400 KiB | 5 Q