3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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.71
8.3.50.0150.00722.05
8.3.40.0040.01218.60
8.3.30.0000.01518.43
8.3.20.0000.00720.26
8.3.10.0080.00023.54
8.3.00.0000.00819.26
8.2.180.0110.00716.49
8.2.170.0150.00022.96
8.2.160.0070.00720.47
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00417.63
8.2.120.0040.00426.35
8.2.110.0030.00619.09
8.2.100.0120.00017.65
8.2.90.0080.00018.92
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0020.00519.34
8.2.30.0070.00020.55
8.2.20.0060.00317.42
8.2.10.0030.00617.81
8.2.00.0040.00417.83
8.1.280.0120.00325.92
8.1.270.0030.00623.84
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00723.92
8.1.230.0080.00417.77
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0050.00517.10
8.1.180.0000.00818.10
8.1.170.0040.00418.70
8.1.160.0000.00721.80
8.1.150.0000.00818.77
8.1.140.0000.00819.49
8.1.130.0030.00317.63
8.1.120.0030.00317.34
8.1.110.0000.00717.24
8.1.100.0050.00217.25
8.1.90.0000.00717.32
8.1.80.0000.00817.41
8.1.70.0030.00317.12
8.1.60.0080.00017.48
8.1.50.0000.00817.30
8.1.40.0080.00017.28
8.1.30.0040.00417.42
8.1.20.0050.00217.52
8.1.10.0050.00317.42
8.1.00.0030.00517.38
8.0.300.0030.00618.77
8.0.290.0070.00016.75
8.0.280.0070.00018.30
8.0.270.0030.00317.02
8.0.260.0070.00017.09
8.0.250.0070.00016.78
8.0.240.0030.00316.87
8.0.230.0000.01016.84
8.0.220.0040.00416.68
8.0.210.0040.00416.71
8.0.200.0000.00716.83
8.0.190.0040.00416.88
8.0.180.0050.00216.83
8.0.170.0060.00316.88
8.0.160.0030.00316.80
8.0.150.0030.00316.84
8.0.140.0000.00716.69
8.0.130.0000.00513.21
8.0.120.0000.00816.77
8.0.110.0050.00316.89
8.0.100.0080.00016.77
8.0.90.0030.00316.77
8.0.80.0100.00616.72
8.0.70.0040.00316.80
8.0.60.0040.00416.84
8.0.50.0050.00316.62
8.0.30.0120.00716.92
8.0.20.0080.00917.40
8.0.10.0050.00316.74
8.0.00.0110.00616.54
7.4.330.0020.00216.71
7.4.320.0050.00216.48
7.4.300.0030.00316.50
7.4.290.0000.00716.57
7.4.280.0070.00016.50
7.4.270.0000.00616.55
7.4.260.0000.00716.45
7.4.250.0060.00316.60
7.4.240.0060.00116.50
7.4.230.0060.00016.29
7.4.220.0110.00716.53
7.4.210.0070.00716.61
7.4.200.0030.00316.29
7.4.160.0090.00616.46
7.4.150.0080.00917.40
7.4.140.0060.01517.86
7.4.130.0090.00816.62
7.4.120.0060.01216.52
7.4.110.0090.00916.59
7.4.100.0110.00916.53
7.4.90.0140.00416.38
7.4.80.0120.00919.39
7.4.70.0110.00616.75
7.4.60.0120.00616.58
7.4.50.0030.01316.36
7.4.40.0100.00616.40
7.4.30.0030.01516.57
7.4.00.0070.01114.84
7.3.330.0000.00513.16
7.3.320.0000.00613.11
7.3.310.0000.00816.21
7.3.300.0030.00316.25
7.3.290.0000.00716.16
7.3.280.0090.00716.29
7.3.270.0180.00017.40
7.3.260.0100.00616.36
7.3.250.0090.01116.24
7.3.240.0090.00916.23
7.3.230.0100.00616.53
7.3.210.0130.01016.23
7.3.200.0100.00716.36
7.3.190.0080.00816.58
7.3.180.0130.00416.21
7.3.170.0090.01216.38
7.3.160.0090.00916.50
7.3.120.0090.00914.83
7.3.110.0040.01214.91
7.3.100.0090.00214.78
7.3.90.0040.01114.73
7.3.80.0030.01214.70
7.3.70.0030.00714.74
7.3.60.0080.00714.82
7.3.50.0050.00514.75
7.3.40.0030.01014.68
7.3.30.0020.01014.84
7.3.20.0020.01016.60
7.3.10.0050.00816.52
7.3.00.0060.00716.59
7.2.330.0110.00816.41
7.2.320.0120.00616.44
7.2.310.0030.01516.37
7.2.300.0120.00616.80
7.2.290.0110.01016.46
7.2.250.0050.01114.71
7.2.240.0060.01114.88
7.2.230.0100.00515.06
7.2.220.0080.00815.03
7.2.210.0050.01214.97
7.2.200.0050.00715.07
7.2.190.0040.00814.91
7.2.180.0070.00615.03
7.2.170.0090.00715.10
7.2.60.0120.00317.05
7.2.00.0040.00819.45
7.1.330.0050.01015.86
7.1.320.0040.00815.72
7.1.310.0040.00715.64
7.1.300.0050.00715.53
7.1.290.0040.00815.68
7.1.280.0020.00915.64
7.1.270.0020.01115.79
7.1.260.0050.00515.68
7.1.200.0000.01415.85
7.1.70.0030.00517.16
7.1.60.0040.00717.06
7.1.50.0110.01116.98
7.1.00.0030.07722.57
7.0.200.0030.01316.83
7.0.60.0130.08019.93
7.0.50.0000.04717.82
7.0.40.0170.07719.98
7.0.30.0270.06320.09
7.0.20.0400.07020.13
7.0.10.0000.09320.19
7.0.00.0130.06720.16
5.6.280.0000.03320.91
5.6.210.0100.08020.66
5.6.200.0030.09018.13
5.6.190.0170.08020.35
5.6.180.0400.07020.64
5.6.170.0300.07720.41
5.6.160.0200.06020.47
5.6.150.0070.07318.21
5.6.140.0130.03318.20
5.6.130.0100.08018.19
5.6.120.0030.04020.98
5.6.110.0000.04720.98
5.6.100.0070.07721.02
5.6.90.0130.07721.10
5.6.80.0100.08020.38
5.5.350.2400.04020.32
5.5.340.0100.07718.01
5.5.330.0000.06320.40
5.5.320.0070.05020.18
5.5.310.0300.07320.27
5.5.300.0100.03717.92
5.5.290.0070.05318.01
5.5.280.0100.06020.89
5.5.270.0030.04320.78
5.5.260.0070.08320.75
5.5.250.0100.08020.45
5.5.240.0200.04720.18

preferences:
51.23 ms | 401 KiB | 5 Q