3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($id) { if ($id (is_numeric($id) || $id === 'pass')) { return true; } return false; } // this error makes the bug a lot more obvious: //var_dump(test('1')); var_dump(test(null));

preferences:
36.37 ms | 402 KiB | 5 Q