3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public function delete($where, $cb = null) { var_dump('DELETE FROM table WHERE ' . $where->expr); } } $a = new Test(); $a->delete(1);
based on uODZH
Output for 7.2.0 - 7.3.0beta1
Notice: Trying to get property 'expr' of non-object in /in/OW8b2 on line 6 string(24) "DELETE FROM table WHERE "
Output for 5.5.0 - 7.1.20
Notice: Trying to get property of non-object in /in/OW8b2 on line 6 string(24) "DELETE FROM table WHERE "