3v4l.org

run code in 300+ PHP versions simultaneously
<?php class 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.0140.00718.15
8.3.50.0110.00721.27
8.3.40.0000.01418.54
8.3.30.0000.01320.04
8.3.20.0040.00420.21
8.3.10.0090.00021.78
8.3.00.0040.00422.43
8.2.180.0160.00316.50
8.2.170.0140.00022.96
8.2.160.0060.00620.35
8.2.150.0000.00724.18
8.2.140.0100.00624.66
8.2.130.0070.00726.16
8.2.120.0060.00319.54
8.2.110.0070.00422.08
8.2.100.0040.00817.78
8.2.90.0000.00719.23
8.2.80.0040.00419.40
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0000.00818.16
8.2.30.0040.00518.06
8.2.20.0000.00717.45
8.2.10.0000.00917.66
8.2.00.0070.00317.51
8.1.280.0040.01425.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00024.01
8.1.230.0060.00619.02
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0050.00317.51
8.1.180.0000.00918.10
8.1.170.0000.00818.56
8.1.160.0030.00322.13
8.1.150.0020.00518.45
8.1.140.0040.00417.42
8.1.130.0000.00717.75
8.1.120.0000.00717.32
8.1.110.0040.00417.27
8.1.100.0040.00417.37
8.1.90.0070.00017.46
8.1.80.0070.00017.43
8.1.70.0030.00317.41
8.1.60.0000.00817.63
8.1.50.0000.00717.50
8.1.40.0050.00317.57
8.1.30.0000.00817.54
8.1.20.0040.00417.56
8.1.10.0080.00017.55
8.1.00.0040.00417.37
8.0.300.0050.00218.77
8.0.290.0000.00717.05
8.0.280.0030.00318.42
8.0.270.0030.00317.19
8.0.260.0030.00316.70
8.0.250.0030.00316.88
8.0.240.0000.00816.88
8.0.230.0000.00716.90
8.0.220.0000.00716.73
8.0.210.0030.00316.78
8.0.200.0030.00316.92
8.0.190.0040.00416.78
8.0.180.0050.00316.81
8.0.170.0040.00416.85
8.0.160.0070.00016.82
8.0.150.0040.00416.66
8.0.140.0070.00016.75
8.0.130.0030.00313.29
8.0.120.0080.00016.73
8.0.110.0000.00716.76
8.0.100.0040.00416.71
8.0.90.0000.00716.79
8.0.80.0120.00316.78
8.0.70.0000.00716.67
8.0.60.0040.00416.67
8.0.50.0050.00216.62
8.0.30.0110.01017.19
8.0.20.0130.00517.40
8.0.10.0040.00416.99
8.0.00.0110.01016.60
7.4.330.0020.00215.00
7.4.320.0030.00316.44
7.4.300.0000.00616.61
7.4.290.0000.00716.47
7.4.280.0000.00616.43
7.4.270.0040.00416.50
7.4.260.0060.00316.53
7.4.250.0030.00316.55
7.4.240.0020.00516.46
7.4.230.0030.00316.59
7.4.220.0130.00916.57
7.4.210.0080.00616.58
7.4.200.0030.00316.69
7.4.190.0070.00016.59
7.4.160.0080.00816.45
7.4.150.0160.00617.40
7.4.140.0090.01417.86
7.4.130.0200.01316.35
7.4.120.0110.00616.39
7.4.110.0140.01016.57
7.4.100.0030.01516.45
7.4.90.0130.00316.48
7.4.80.0080.00819.39
7.4.70.0100.00716.46
7.4.60.0060.01016.41
7.4.50.0000.00516.21
7.4.40.0120.00322.77
7.4.30.0060.01016.39
7.4.00.0090.00614.89
7.3.330.0050.00013.23
7.3.320.0020.00213.27
7.3.310.0030.00316.04
7.3.300.0070.00016.18
7.3.290.0080.00616.14
7.3.280.0100.00816.20
7.3.270.0030.01517.40
7.3.260.0060.01216.50
7.3.250.0110.00916.17
7.3.240.0100.00716.44
7.3.230.0120.00316.39
7.3.210.0080.00816.12
7.3.200.0120.00619.39
7.3.190.0090.00916.35
7.3.180.0260.00616.32
7.3.170.0080.00816.44
7.3.160.0120.00316.20
7.3.120.0100.00714.47
7.2.330.0180.00016.57
7.2.320.0120.00616.57
7.2.310.0130.00416.77
7.2.300.0100.00716.72
7.2.290.0070.01016.36
7.2.00.0070.00718.86
7.1.100.0100.01417.82
7.1.70.0060.00316.95
7.1.60.0070.01019.21
7.1.50.0090.00916.95
7.1.00.0030.03322.44
7.0.200.0440.00714.52
7.0.140.0030.07321.96
7.0.60.0070.07719.91
7.0.50.0070.06717.88
7.0.40.0000.05020.30
7.0.30.0300.07320.17
7.0.20.0200.04320.06
7.0.10.0330.07720.18
7.0.00.0100.07720.14
5.6.280.0030.07320.86
5.6.210.0100.08320.47
5.6.200.0030.08318.24
5.6.190.0230.07320.32
5.6.180.0230.08320.57
5.6.170.0300.06320.50
5.6.160.0070.08720.55
5.6.150.0070.07318.19
5.6.140.0030.07018.28
5.6.130.0170.07018.28
5.6.120.0030.04021.04
5.6.110.0130.08021.08
5.6.100.0070.06321.11
5.6.90.0100.08021.10
5.6.80.0070.07320.38
5.6.70.0170.06320.47
5.5.350.0070.03720.43
5.5.340.0070.07718.10
5.5.330.0070.07720.41
5.5.320.0130.05020.36
5.5.310.0330.05720.30
5.5.300.0030.08717.95
5.5.290.0070.08318.03
5.5.280.0100.08320.89
5.5.270.0070.03720.81
5.5.260.0070.09320.77
5.5.250.0030.04320.61
5.5.240.0100.07020.15
5.4.450.0800.05719.59
5.4.440.0900.05019.64
5.4.430.0830.03719.62
5.4.420.0730.05019.70
5.4.410.1070.04319.06
5.4.400.0470.06718.53
5.4.390.0330.07318.70
5.4.380.0270.05018.80
5.4.370.0200.04318.79
5.4.360.0200.04318.50
5.4.350.0080.04912.02
5.4.340.0080.03812.02
5.4.320.0070.03512.50
5.4.310.0040.04712.50
5.4.300.0060.03512.50
5.4.290.0060.03712.50
5.4.280.0020.03912.39
5.4.270.0050.03812.39
5.4.260.0060.03812.39
5.4.250.0070.05318.73
5.4.240.0100.05018.81
5.4.230.0030.06018.99
5.4.220.0170.07318.88
5.4.210.0070.05718.75
5.4.200.0070.05318.98
5.4.190.0070.07719.00
5.4.180.0100.05018.96
5.4.170.0200.06718.80
5.4.160.0130.06018.90
5.4.150.0030.06018.96
5.4.140.0070.05316.36
5.4.130.0100.04716.65
5.4.120.0100.04716.47
5.4.110.0100.04716.59
5.4.100.0070.05016.45
5.4.90.0130.06316.52
5.4.80.0200.05016.52
5.4.70.0170.05316.54
5.4.60.0130.06716.45
5.4.50.0070.05016.38
5.4.40.0100.05016.49
5.4.30.0000.06316.58
5.4.20.0070.07316.45
5.4.10.0030.05316.57
5.4.00.0070.05315.83
5.3.290.0060.04212.80
5.3.280.0130.04314.69
5.3.270.0130.04714.68
5.3.260.0070.05314.59
5.3.250.0130.06714.75
5.3.240.0100.05014.69
5.3.230.0000.05714.61
5.3.220.0030.05314.46
5.3.210.0070.05014.73
5.3.200.0030.05314.79
5.3.190.0000.06314.39
5.3.180.0030.07714.73
5.3.170.0130.04714.53
5.3.160.0070.06014.52
5.3.150.0000.06314.55
5.3.140.0030.05014.46
5.3.130.0100.07714.56
5.3.120.0100.04714.63
5.3.110.0000.06314.61
5.3.100.0100.05714.12
5.3.90.0100.05313.84
5.3.80.0000.05714.11
5.3.70.0070.07014.23
5.3.60.0100.06314.08
5.3.50.0170.06014.04
5.3.40.0030.07013.93
5.3.30.0070.07013.87
5.3.20.0200.03713.66
5.3.10.0230.03313.71
5.3.00.0030.06313.64
5.2.170.0000.06711.13
5.2.160.0030.04311.11
5.2.150.0030.04711.32
5.2.140.0070.05011.30
5.2.130.0100.03310.93
5.2.120.0070.04011.09
5.2.110.0030.04011.11
5.2.100.0070.05011.18
5.2.90.0100.03311.09
5.2.80.0070.04011.16
5.2.70.0030.04311.07
5.2.60.0100.03311.12
5.2.50.0030.04711.01
5.2.40.0000.04310.98
5.2.30.0200.04710.94
5.2.20.0070.04011.03
5.2.10.0130.03710.93
5.2.00.0030.04310.78
5.1.60.0030.0439.98
5.1.50.0000.0509.95
5.1.40.0100.04310.07
5.1.30.0070.03310.16
5.1.20.0000.04310.34
5.1.10.0070.0339.91
5.1.00.0030.03310.31
5.0.50.0000.0308.61
5.0.40.0000.0308.47
5.0.30.0070.0408.06
5.0.20.0070.0238.23
5.0.10.0030.0408.42
5.0.00.0100.0337.99
4.4.90.0070.0177.37
4.4.80.0070.0207.37
4.4.70.0030.0237.37
4.4.60.0030.0207.37
4.4.50.0030.0307.37
4.4.40.0000.0477.37
4.4.30.0000.0237.37
4.4.20.0070.0177.37
4.4.10.0030.0207.37
4.4.00.0000.0377.37
4.3.110.0000.0307.37
4.3.100.0000.0237.37
4.3.90.0000.0337.37
4.3.80.0000.0377.37
4.3.70.0030.0177.37
4.3.60.0070.0137.37
4.3.50.0030.0207.37
4.3.40.0070.0277.37
4.3.30.0070.0177.37
4.3.20.0000.0277.37
4.3.10.0000.0237.37
4.3.00.0130.0206.28

preferences:
75.91 ms | 400 KiB | 5 Q