3v4l.org

run code in 500+ PHP versions simultaneously
<?php class X { protected string $foo; public function __isset($name) { echo "__isset called\n"; // This is the same like in line 22. So why it doesn't call __isset() again if (!isset($this->foo)) { return true; }; return false; } 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(). } } (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.0030.00516.82
8.5.60.0050.00216.64
8.5.50.0160.00716.63
8.5.40.0140.00618.36
8.5.30.0050.00518.32
8.5.20.0050.00418.28
8.5.10.0070.00218.45
8.5.00.0060.00216.39
8.4.210.0120.00519.52
8.4.190.0120.00619.29
8.4.180.0180.00119.51
8.4.170.0070.00519.24
8.4.160.0090.00319.74
8.4.150.0060.00619.48
8.4.140.0080.00417.30
8.4.130.0190.00217.22
8.4.120.0070.00617.76
8.4.110.0080.00417.95
8.4.100.0080.00317.66
8.4.90.0030.00717.73
8.4.80.0080.00317.69
8.4.70.0130.00417.48
8.4.60.0180.00417.55
8.4.50.0190.00217.21
8.4.40.0170.00717.73
8.4.30.0060.00517.36
8.4.20.0200.00417.36
8.4.10.0090.00217.41
8.3.310.0110.00718.40
8.3.300.0150.00418.14
8.3.290.0230.00618.18
8.3.280.0160.00418.23
8.3.270.0080.00316.57
8.3.260.0090.00516.59
8.3.250.0140.00416.31
8.3.240.0140.00416.61
8.3.230.0100.00416.69
8.3.220.0080.00316.64
8.3.210.0080.00216.56
8.3.200.0070.00516.45
8.3.190.0080.00216.68
8.3.180.0070.00316.64
8.3.170.0080.00316.56
8.3.160.0070.00416.68
8.3.150.0080.00616.31
8.3.140.0110.00916.61
8.3.130.0140.00616.61
8.3.120.0100.00116.46
8.3.110.0130.00616.70
8.3.100.0080.00416.63
8.3.90.0090.00316.57
8.3.80.0110.00016.43
8.3.70.0150.00616.73
8.3.60.0140.00616.59
8.3.50.0070.00516.48
8.3.40.0170.00517.41
8.3.30.0160.00317.93
8.3.20.0160.00217.46
8.3.10.0060.00517.79
8.3.00.0070.00317.66
8.2.310.0200.00317.91

preferences:
55.8 ms | 732 KiB | 5 Q