3v4l.org

run code in 500+ PHP versions simultaneously
<?php class X { protected string $foo; public function __isset($name) { echo "DONT YOU SEE THAT THIS IS CALLED THE `FALSE` ISSNT BECAUSE ISSET() WORKS, ITS THE ISSET UNDER THAT LINE WORKS\n"; // return isset($this->foo); // But this doesn't call __isset. Even it is the same like this in line 18. return true; } public function test_isset() { var_dump(isset($this->foo)); // Is false always unset($this->foo); var_dump(isset($this->foo)); // This should be false, but it calls __isset(). } } $x = new X(); var_dump(isset($x->foo)); unset($x->foo); var_dump(isset($x->foo)); (new X())->test_isset();

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.5.70.0110.00818.77
8.5.60.0080.00916.96
8.5.50.0130.00516.74
8.5.40.0190.00618.59
8.5.30.0060.00518.43
8.5.20.0080.00318.25
8.5.10.0070.00318.41
8.5.00.0050.00418.52
8.4.220.0140.00619.60
8.4.210.0140.00419.54
8.4.190.0270.00819.80
8.4.180.0270.00819.53
8.4.170.0090.00719.70
8.4.160.0090.00519.58
8.4.150.0130.00119.57
8.4.140.0130.00217.75
8.4.130.0170.00517.69
8.4.120.0110.00517.96
8.4.110.0090.00619.85
8.4.100.0070.00619.72
8.4.90.0070.00719.75
8.4.80.0090.00419.50
8.4.70.0110.00517.79
8.4.60.0170.00417.36
8.4.50.0240.00817.70
8.4.40.0220.00618.01
8.4.30.0070.00617.77
8.4.20.0190.00617.58
8.4.10.0100.00317.87
8.3.310.0160.00418.31
8.3.300.0280.00518.42
8.3.290.0280.00818.18
8.3.280.0290.00918.19
8.3.270.0110.00916.50
8.3.260.0220.01016.73
8.3.250.0170.00416.62
8.3.240.0290.00916.75
8.3.230.0180.00516.81
8.3.220.0060.00616.61
8.3.210.0070.00416.65
8.3.200.0070.00416.63
8.3.190.0060.00416.87
8.3.180.0070.00416.67
8.3.170.0090.00516.97
8.3.160.0070.00516.76
8.3.150.0140.00316.79
8.3.140.0210.00516.56
8.3.130.0190.00316.80
8.3.120.0080.00516.61
8.3.110.0170.00716.71
8.3.100.0080.00718.36
8.3.90.0090.00416.66
8.3.80.0100.00216.67
8.3.70.0190.00416.55
8.3.60.0180.00116.81
8.3.50.0110.00216.60
8.3.40.0220.00417.84
8.3.30.0240.00517.80
8.3.20.0220.00917.73
8.3.10.0130.00717.79
8.3.00.0170.00718.08
8.2.310.0370.00918.13

preferences:
51.84 ms | 754 KiB | 5 Q