3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait AccessibleProperties { public function __isset($property) { return property_exists($this, $property); } public function __get($property) { if (property_exists($this, $property)) { return $this->$property; } } } class Fooba { use AccessibleProperties; protected $a = 'Some value'; } $foo = new Foo; var_dump($foo->a); var_dump(isset($foo->a));

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.70.0110.00718.56
8.3.60.0110.00418.30
8.3.50.0090.00617.82
8.3.40.0120.00319.02
8.3.30.0110.00418.39
8.3.20.0040.00421.84
8.3.10.0040.00423.35
8.3.00.0000.00823.59
8.2.190.0100.01016.75
8.2.180.0140.00316.38
8.2.170.0080.00622.96
8.2.160.0000.01320.47
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0110.00326.16
8.2.120.0040.00419.85
8.2.110.0070.00322.13
8.2.100.0060.00617.84
8.2.90.0030.00617.74
8.2.80.0000.00817.97
8.2.70.0040.00417.80
8.2.60.0040.00418.00
8.2.50.0030.00618.10
8.2.40.0080.00419.34
8.2.30.0000.00719.25
8.2.20.0040.00419.82
8.2.10.0000.00720.64
8.2.00.0080.00019.33
8.1.280.0110.00425.92
8.1.270.0040.00418.88
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00022.46
8.1.230.0000.01017.70
8.1.220.0060.00317.79
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0080.00019.29
8.1.180.0000.00818.10
8.1.170.0040.00418.58
8.1.160.0000.00718.74
8.1.150.0070.00018.71
8.1.140.0040.00422.11
8.1.130.0000.00720.15
8.1.120.0030.00317.30
8.1.110.0000.00717.38
8.1.100.0000.00817.39
8.1.90.0040.00417.31
8.1.80.0040.00417.29
8.1.70.0030.00517.29
8.1.60.0040.00417.55
8.1.50.0000.00917.43
8.1.40.0060.00317.34
8.1.30.0050.00317.59
8.1.20.0080.00017.58
8.1.10.0000.00817.55
8.1.00.0030.00617.38
8.0.300.0090.00021.65
8.0.290.0070.00316.88
8.0.280.0080.00018.46
8.0.270.0000.00717.25
8.0.260.0030.00318.50
8.0.250.0000.00817.05
8.0.240.0040.00417.00
8.0.230.0070.00017.00
8.0.220.0070.00017.00
8.0.210.0000.00817.02
8.0.200.0030.00316.91
8.0.190.0080.00017.06
8.0.180.0000.00716.95
8.0.170.0000.00916.96
8.0.160.0070.00016.95
8.0.150.0030.00616.82
8.0.140.0000.00716.89
8.0.130.0060.00013.38
8.0.120.0000.00716.88
8.0.110.0070.00016.98
8.0.100.0000.00816.97
8.0.90.0070.00016.93
8.0.80.0100.00717.01
8.0.70.0000.00716.77
8.0.60.0000.00716.95
8.0.50.0070.00016.80
8.0.30.0150.00017.05
8.0.20.0180.00017.40
8.0.10.0050.00317.00
8.0.00.0140.00816.76
7.4.330.0000.00515.55
7.4.320.0060.00016.44
7.4.300.0000.00616.46
7.4.290.0000.00716.52
7.4.280.0050.00316.56
7.4.270.0030.00316.46
7.4.260.0000.00716.52
7.4.250.0050.00316.40
7.4.240.0040.00416.46
7.4.230.0000.00716.29
7.4.220.0000.00916.56
7.4.210.0100.00716.47
7.4.200.0000.00716.31
7.4.160.0060.00916.48
7.4.140.0110.01117.86
7.4.130.0100.00716.59
7.4.120.0080.00816.67
7.4.110.0040.00516.36
7.4.100.0110.01516.42
7.4.90.0140.00416.51
7.4.80.0120.00619.39
7.4.70.0070.01116.67
7.4.60.0080.00816.53
7.4.50.0130.00316.23
7.4.40.0090.01716.48
7.4.00.0070.01015.10
7.3.330.0030.00313.16
7.3.320.0000.00513.34
7.3.310.0000.00716.23
7.3.300.0040.00416.37
7.3.290.0000.00716.33
7.3.280.0080.00916.30
7.3.260.0090.00916.39
7.3.240.0090.01116.41
7.3.230.0060.01016.37
7.3.210.0060.01016.53
7.3.200.0080.00816.28
7.3.190.0030.01516.40
7.3.180.0060.01116.60
7.3.170.0100.01316.48
7.3.160.0090.01616.40
7.3.120.0080.00814.84
7.3.110.0030.01214.90
7.3.100.0090.00314.74
7.3.90.0060.00614.92
7.3.80.0040.01115.11
7.3.70.0110.00414.59
7.3.60.0000.01414.79
7.3.50.0000.01414.72
7.3.40.0140.00414.65
7.3.30.0090.00614.89
7.3.20.0070.00716.58
7.3.10.0030.01016.48
7.3.00.0180.00815.50
7.2.330.0100.00716.61
7.2.320.0100.00716.65
7.2.310.0100.00616.65
7.2.300.0070.01416.48
7.2.290.0120.00616.51
7.2.240.0140.00014.97
7.2.230.0040.01114.90
7.2.220.0030.01414.98
7.2.210.0120.00014.95
7.2.200.0000.01714.96
7.2.190.0000.01114.65
7.2.180.0070.00414.83
7.2.170.0030.01314.73
7.2.160.0040.01414.64
7.2.150.0040.01116.65
7.2.140.0090.00616.72
7.2.130.0230.00915.46
7.2.120.0170.00915.60
7.2.110.0200.01115.54
7.2.100.0160.00515.50
7.2.90.0100.01115.79
7.2.80.0180.00915.77
7.2.70.0200.00515.75
7.2.60.0190.00815.83
7.2.50.0170.01015.76
7.2.40.0190.00615.81
7.2.30.0160.01015.75
7.2.20.0130.01115.93
7.2.10.0190.00515.80
7.2.00.0170.01415.78
7.1.330.0000.00915.63
7.1.320.0080.00815.71
7.1.310.0000.01515.79
7.1.300.0090.00015.52
7.1.290.0040.01115.34
7.1.280.0000.01015.44
7.1.270.0070.00715.83
7.1.260.0120.00315.68
7.1.250.0170.00414.71
7.0.330.0270.01013.46
5.6.380.0070.00714.52

preferences:
28.15 ms | 401 KiB | 5 Q