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.60.0040.01216.63
8.3.50.0090.00618.18
8.3.40.0100.00318.84
8.3.30.0090.00918.56
8.3.20.0040.00420.04
8.3.10.0080.00023.53
8.3.00.0000.00819.13
8.2.180.0070.01116.61
8.2.170.0090.00622.96
8.2.160.0100.00320.48
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0000.01019.24
8.2.120.0040.00426.35
8.2.110.0160.00621.13
8.2.100.0040.00817.78
8.2.90.0040.00419.16
8.2.80.0040.00417.97
8.2.70.0030.00617.36
8.2.60.0000.01117.67
8.2.50.0070.00018.07
8.2.40.0040.00419.34
8.2.30.0070.00020.61
8.2.20.0030.00517.52
8.2.10.0040.00417.80
8.2.00.0000.00717.93
8.1.280.0120.00325.92
8.1.270.0030.00523.88
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0090.00022.59
8.1.230.0060.00617.53
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.22
8.1.180.0000.00718.10
8.1.170.0000.00718.55
8.1.160.0030.00321.86
8.1.150.0040.00418.80
8.1.140.0030.00519.40
8.1.130.0040.00417.48
8.1.120.0000.00717.21
8.1.110.0000.00717.27
8.1.100.0050.00217.34
8.1.90.0070.00017.36
8.1.80.0040.00417.20
8.1.70.0000.00717.22
8.1.60.0040.00417.33
8.1.50.0050.00317.31
8.1.40.0000.00817.36
8.1.30.0050.00317.54
8.1.20.0080.00017.40
8.1.10.0000.00717.25
8.1.00.0030.00617.36
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0070.00018.22
8.0.270.0070.00016.99
8.0.260.0030.00517.18
8.0.250.0000.00716.80
8.0.240.0070.00016.84
8.0.230.0070.00416.84
8.0.220.0020.00516.81
8.0.210.0070.00016.78
8.0.200.0000.00616.89
8.0.190.0060.00316.91
8.0.180.0000.00716.73
8.0.170.0030.00616.76
8.0.160.0000.00716.78
8.0.150.0000.00716.82
8.0.140.0070.00016.81
8.0.130.0050.00013.24
8.0.120.0080.00016.87
8.0.110.0040.00416.80
8.0.100.0000.00716.71
8.0.90.0070.00016.82
8.0.80.0130.00316.73
8.0.70.0000.00816.90
8.0.60.0070.00016.82
8.0.50.0040.00416.84
8.0.30.0050.01117.03
8.0.20.0080.01217.40
8.0.10.0040.00416.76
8.0.00.0090.00816.68
7.4.330.0050.00016.71
7.4.320.0030.00316.61
7.4.300.0060.00016.52
7.4.290.0030.00316.64
7.4.280.0050.00316.49
7.4.270.0050.00316.50
7.4.260.0000.00716.63
7.4.250.0040.00416.42
7.4.240.0000.00716.59
7.4.230.0030.00316.58
7.4.220.0110.00716.53
7.4.210.0070.00716.58
7.4.200.0050.00216.58
7.4.160.0080.00816.46
7.4.150.0080.00817.40
7.4.140.0070.01217.86
7.4.130.0100.00916.57
7.4.120.0090.00916.52
7.4.110.0070.01116.59
7.4.100.0100.01316.50
7.4.90.0070.01016.62
7.4.80.0060.01519.39
7.4.70.0090.01216.40
7.4.60.0070.01016.48
7.4.50.0040.01116.46
7.4.40.0070.01016.51
7.4.30.0090.00916.68
7.4.00.0140.00314.77
7.3.330.0030.00313.13
7.3.320.0050.00013.22
7.3.310.0030.00516.20
7.3.300.0040.00416.35
7.3.290.0030.00316.35
7.3.280.0100.00816.31
7.3.270.0130.00617.40
7.3.260.0000.01616.43
7.3.240.0120.00716.40
7.3.230.0100.00716.42
7.3.210.0090.00916.47
7.3.200.0150.00016.30
7.3.190.0060.01216.57
7.3.180.0090.00916.27
7.3.170.0060.01216.39
7.3.160.0200.00316.39
7.2.330.0100.00716.73
7.2.320.0100.01616.39
7.2.310.0090.01516.44
7.2.300.0090.01316.39
7.2.290.0090.01116.69
7.2.60.0000.01416.54
7.2.00.0100.00319.51
7.1.200.0060.00615.59
7.1.100.0060.00618.00
7.1.70.0000.00816.91
7.1.60.0100.01419.48
7.1.50.0100.01016.94
7.1.00.0030.07322.36
7.0.200.0290.00314.80
7.0.60.0030.04320.02
7.0.50.0100.07717.77
7.0.40.0130.04720.19
7.0.30.0200.07320.02
7.0.20.0370.07720.30
7.0.10.0070.08720.13
7.0.00.0070.07720.12
5.6.280.0000.07321.11
5.6.210.0100.07720.69
5.6.200.0000.09318.21
5.6.190.0070.08320.67
5.6.180.0270.03320.39
5.6.170.0270.08020.41
5.6.160.0030.06320.52
5.6.150.0100.08018.22
5.6.140.0030.08318.11
5.6.130.0100.06318.18
5.6.120.0030.04021.09
5.6.110.0070.04021.13
5.6.100.0100.08721.12
5.6.90.0100.09021.07
5.6.80.0030.08320.48
5.5.350.4030.03320.41
5.5.340.0030.07718.02
5.5.330.0070.07020.21
5.5.320.0000.06720.29
5.5.310.0270.07320.31
5.5.300.0100.07317.88
5.5.290.0030.04317.90
5.5.280.0170.07020.80
5.5.270.0100.03320.76
5.5.260.0100.07320.64
5.5.250.0070.07320.68
5.5.240.0100.04720.36

preferences:
60.39 ms | 401 KiB | 5 Q