3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; var_dump((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.60.0120.00316.63
8.3.50.0070.01117.82
8.3.40.0120.00318.48
8.3.30.0160.00418.54
8.3.20.0080.00020.34
8.3.10.0070.00023.46
8.3.00.0040.00419.26
8.2.180.0120.00318.63
8.2.170.0080.00822.96
8.2.160.0070.00720.43
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0030.00619.01
8.2.120.0030.00626.35
8.2.110.0090.00021.94
8.2.100.0090.00317.80
8.2.90.0070.00019.05
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0030.00617.91
8.2.50.0040.00418.07
8.2.40.0000.00719.46
8.2.30.0040.00420.72
8.2.20.0060.00317.49
8.2.10.0090.00017.98
8.2.00.0040.00417.93
8.1.280.0140.00725.92
8.1.270.0090.00023.90
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0080.00422.01
8.1.230.0060.00619.01
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0030.00518.61
8.1.160.0000.00721.89
8.1.150.0050.00218.69
8.1.140.0000.00717.30
8.1.130.0040.00417.56
8.1.120.0070.00017.35
8.1.110.0050.00317.36
8.1.100.0070.00017.32
8.1.90.0000.00817.20
8.1.80.0040.00317.31
8.1.70.0040.00417.29
8.1.60.0040.00417.46
8.1.50.0000.00817.38
8.1.40.0000.00817.33
8.1.30.0040.00417.56
8.1.20.0050.00317.48
8.1.10.0000.00817.44
8.1.00.0000.00917.31
8.0.300.0030.00518.77
8.0.290.0000.00816.58
8.0.280.0040.00418.27
8.0.270.0050.00216.79
8.0.260.0070.00317.06
8.0.250.0030.00316.79
8.0.240.0070.00016.91
8.0.230.0000.00916.89
8.0.220.0040.00416.81
8.0.210.0000.00816.75
8.0.200.0030.00316.92
8.0.190.0030.00616.94
8.0.180.0050.00216.89
8.0.170.0000.00816.81
8.0.160.0070.00016.91
8.0.150.0030.00416.82
8.0.140.0080.00016.77
8.0.130.0050.00013.20
8.0.120.0060.00316.80
8.0.110.0070.00016.86
8.0.100.0040.00416.81
8.0.90.0000.00716.88
8.0.80.0070.01016.71
8.0.70.0050.00216.85
8.0.60.0070.00016.76
8.0.50.0030.00516.72
8.0.30.0130.00316.88
8.0.20.0130.00517.40
8.0.10.0080.00016.98
8.0.00.0100.00916.73
7.4.330.0050.00016.69
7.4.320.0000.00616.63
7.4.300.0030.00316.54
7.4.290.0000.00716.47
7.4.280.0040.00416.50
7.4.270.0030.00316.57
7.4.260.0040.00416.56
7.4.250.0030.00516.58
7.4.240.0020.00516.62
7.4.230.0070.00016.50
7.4.220.0120.00616.62
7.4.210.0120.00716.60
7.4.200.0000.00716.64
7.4.160.0090.00616.36
7.4.150.0100.00717.40
7.4.140.0110.00917.86
7.4.130.0150.00916.59
7.4.120.0100.00816.55
7.4.110.0030.01416.53
7.4.100.0030.01416.64
7.4.90.0090.00916.48
7.4.80.0060.01319.39
7.4.70.0090.00916.48
7.4.60.0120.00316.38
7.4.50.0060.00916.42
7.4.40.0060.01216.61
7.4.30.0120.00616.45
7.4.00.0070.00615.00
7.3.330.0020.00213.09
7.3.320.0050.00013.19
7.3.310.0040.00416.30
7.3.300.0070.00016.29
7.3.290.0030.00316.37
7.3.280.0110.00516.37
7.3.270.0080.00817.40
7.3.260.0180.00016.29
7.3.240.0090.01016.32
7.3.230.0100.00616.53
7.3.210.0100.01016.29
7.3.200.0090.00916.63
7.3.190.0100.01016.34
7.3.180.0100.00716.39
7.3.170.0100.00716.38
7.3.160.0090.00616.59
7.3.120.0070.01114.94
7.3.110.0060.00614.83
7.3.100.0110.00414.96
7.3.90.0070.01014.82
7.3.80.0070.00714.64
7.3.70.0060.01014.64
7.3.60.0120.00615.01
7.3.50.0070.00715.01
7.3.40.0150.00014.96
7.3.30.0100.00714.98
7.3.20.0080.00516.82
7.3.10.0030.01116.59
7.3.00.0080.00216.30
7.2.330.0060.01016.87
7.2.320.0060.01316.76
7.2.310.0100.00716.77
7.2.300.0130.01216.71
7.2.290.0090.01216.80
7.2.250.0080.01114.76
7.2.240.0060.00914.88
7.2.230.0040.01115.29
7.2.220.0110.00715.02
7.2.210.0000.01415.05
7.2.200.0070.00715.05
7.2.190.0090.00615.11
7.2.180.0060.00615.00
7.2.170.0030.01315.08
7.2.130.0090.00317.03
7.2.120.0030.00716.91
7.2.110.0150.00716.70
7.2.100.0030.01716.76
7.2.90.0060.00616.88
7.2.80.0120.00616.98
7.2.70.0060.00617.04
7.2.60.0100.00316.89
7.2.50.0000.01116.79
7.2.40.0060.00616.70
7.2.30.0000.01016.73
7.2.20.0120.00016.77
7.2.10.0040.01116.75
7.2.00.0030.01018.15
7.1.330.0040.01115.88
7.1.320.0030.00615.87
7.1.310.0060.00315.97
7.1.300.0030.01515.81
7.1.290.0070.00715.82
7.1.280.0070.00615.82
7.1.270.0030.01315.82
7.1.260.0040.01415.84
7.1.250.0040.00715.35
7.1.200.0100.00315.86
7.1.100.0000.00818.19
7.1.70.0000.00717.35
7.1.60.0120.01219.48
7.1.50.0130.00717.05
7.1.00.0030.07322.43
7.0.200.0430.00614.68
7.0.60.0130.07719.82
7.0.50.0170.04717.81
7.0.40.0030.07720.24
7.0.30.0270.07320.17
7.0.20.0400.07020.09
7.0.10.0070.09020.00
7.0.00.0170.07720.18
5.6.280.0000.07721.07
5.6.210.0130.04720.45
5.6.200.0100.05318.22
5.6.190.0070.09020.67
5.6.180.0300.08320.44
5.6.170.0170.06020.33
5.6.160.0130.05020.36
5.6.150.0030.08318.21
5.6.140.0000.04718.14
5.6.130.0030.05318.11
5.6.120.0030.09021.00
5.6.110.0100.08321.07
5.6.100.0030.04320.96
5.6.90.0030.04021.01
5.6.80.0130.07020.50
5.5.350.0300.06020.43
5.5.340.0100.06017.88
5.5.330.0070.08020.25
5.5.320.0030.04320.15
5.5.310.0330.06320.33
5.5.300.0130.07718.00
5.5.290.0000.09717.94
5.5.280.0100.08320.85
5.5.270.0100.08320.79
5.5.260.0170.06020.86
5.5.250.0130.07320.68
5.5.240.0300.04720.36

preferences:
48.33 ms | 400 KiB | 5 Q