3v4l.org

run code in 300+ PHP versions simultaneously
<?phpclass P { public function test_prop($prop) { return property_exists($this, $prop); }}class Child extends P { private $prop1;}$child = new Child();var_dump($child->test_prop('prop1')); //true, as of PHP 5.3.0

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.0090.00918.40
8.3.50.0200.01021.99
8.3.40.0140.00718.61
8.3.30.0070.01118.92
8.3.20.0030.00520.12
8.3.10.0040.00421.78
8.3.00.0000.00817.79
8.2.180.0210.00016.50
8.2.170.0060.00922.96
8.2.160.0100.00320.29
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00021.06
8.2.110.0040.00420.96
8.2.100.0040.00717.78
8.2.90.0030.00617.78
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0030.00617.80
8.2.50.0060.00318.07
8.2.40.0040.00419.76
8.2.30.0050.00318.04
8.2.20.0040.00417.48
8.2.10.0080.00017.98
8.2.00.0000.00717.53
8.1.280.0080.00825.92
8.1.270.0030.00623.96
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00622.53
8.1.230.0080.00320.74
8.1.220.0040.00417.74
8.1.210.0080.00018.88
8.1.200.0080.00517.00
8.1.190.0030.00517.10
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0040.00421.80
8.1.150.0050.00318.67
8.1.140.0050.00517.31
8.1.130.0000.00717.59
8.1.120.0000.00817.24
8.1.110.0000.00817.27
8.1.100.0000.00717.30
8.1.90.0000.00717.29
8.1.80.0070.00017.36
8.1.70.0060.00017.26
8.1.60.0000.00817.47
8.1.50.0080.00017.38
8.1.40.0040.00417.29
8.1.30.0000.00817.47
8.1.20.0040.00417.51
8.1.10.0000.00817.32
8.1.00.0040.00417.31
8.0.300.0000.00719.86
8.0.290.0000.00716.58
8.0.280.0030.00318.36
8.0.270.0030.00617.14
8.0.260.0000.00717.09
8.0.250.0000.01016.75
8.0.240.0030.00316.77
8.0.230.0030.00316.85
8.0.220.0050.00316.63
8.0.210.0000.00716.77
8.0.200.0000.00716.85
8.0.190.0000.00916.82
8.0.180.0040.00416.75
8.0.170.0080.00016.68
8.0.160.0080.00016.81
8.0.150.0000.00716.73
8.0.140.0040.00516.71
8.0.130.0000.00613.46
8.0.120.0000.00716.73
8.0.110.0000.00816.65
8.0.100.0000.00716.78
8.0.90.0070.00016.80
8.0.80.0100.00716.71
8.0.70.0000.00716.70
8.0.60.0070.00016.77
8.0.50.0070.00016.70
8.0.30.0110.01017.04
8.0.20.0140.00517.40
8.0.10.0040.00416.91
8.0.00.0060.01116.50
7.4.330.0000.00515.21
7.4.320.0070.00016.27
7.4.300.0000.00616.50
7.4.290.0000.00716.33
7.4.280.0030.00316.45
7.4.270.0030.00316.38
7.4.260.0100.00016.34
7.4.250.0030.00316.36
7.4.240.0060.00216.32
7.4.230.0030.00316.27
7.4.220.0130.00316.48
7.4.210.0070.01016.45
7.4.200.0070.00016.46
7.4.160.0060.00916.48
7.4.150.0100.00717.40
7.4.140.0080.00917.86
7.4.130.0090.00816.35
7.4.120.0100.00916.34
7.4.110.0060.01016.42
7.4.100.0080.01316.33
7.4.90.0030.01316.32
7.4.80.0000.02019.39
7.4.70.0120.00616.35
7.4.60.0060.00916.41
7.4.50.0050.00016.30
7.4.40.0130.00316.45
7.4.30.0170.00016.47
7.3.330.0000.00613.21
7.3.320.0000.00513.19
7.3.310.0000.00716.30
7.3.300.0000.00615.96
7.3.290.0100.01016.20
7.3.280.0090.00916.13
7.3.270.0100.00917.40
7.3.260.0130.01016.33
7.3.250.0120.00616.29
7.3.240.0130.01016.38
7.3.230.0060.00916.39
7.3.210.0060.01016.24
7.3.200.0170.00719.39
7.3.190.0100.00716.19
7.3.180.0130.00716.29
7.3.170.0080.00816.27
7.3.160.0030.01216.24
7.2.330.0110.00616.39
7.2.320.0130.01016.24
7.2.310.0030.01216.54
7.2.300.0070.01116.30
7.2.290.0090.00616.56
5.4.320.0040.03812.45
5.4.310.0050.04212.45
5.4.300.0060.03812.45
5.4.290.0080.03812.45
5.4.280.0100.03912.35
5.4.270.0060.03912.35
5.4.260.0120.04112.34
5.4.250.0090.03612.34
5.4.240.0070.04512.34
5.4.230.0100.04012.34
5.4.220.0040.03812.34
5.4.210.0100.03712.34
5.4.200.0050.03812.34
5.4.190.0050.03712.34
5.4.180.0070.03412.34
5.4.170.0050.04612.34
5.4.160.0070.04112.34
5.4.150.0060.03512.34
5.4.140.0050.03712.02
5.4.130.0040.03712.01
5.4.120.0050.04211.96
5.4.110.0050.03511.96
5.4.100.0060.03911.96
5.4.90.0060.03611.96
5.4.80.0090.03311.96
5.4.70.0040.03611.96
5.4.60.0090.03211.96
5.4.50.0040.04411.96
5.4.40.0070.03211.95
5.4.30.0040.03611.95
5.4.20.0010.04111.95
5.4.10.0060.03511.95
5.4.00.0070.03411.44
5.3.290.0060.04012.80
5.3.280.0060.03812.71
5.3.270.0040.04012.72
5.3.260.0060.04312.72
5.3.250.0050.04012.72
5.3.240.0060.03712.72
5.3.230.0050.03812.70
5.3.220.0050.04312.68
5.3.210.0050.03912.68
5.3.200.0070.03512.68
5.3.190.0100.03412.68
5.3.180.0060.04412.67
5.3.170.0050.03612.67
5.3.160.0070.04212.68
5.3.150.0080.03612.67
5.3.140.0080.04012.66
5.3.130.0060.03812.66
5.3.120.0040.04112.66
5.3.110.0090.04212.66
5.3.100.0050.04512.12
5.3.90.0110.03712.08
5.3.80.0060.03512.07
5.3.70.0070.04012.08
5.3.60.0080.03712.07
5.3.50.0020.03912.00
5.3.40.0080.03312.00
5.3.30.0070.03311.94
5.3.20.0060.03411.71
5.3.10.0070.03311.69
5.3.00.0070.03411.67

preferences:
44.57 ms | 401 KiB | 5 Q