3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = null; if ($foo && $foo->getTitel() === 'at') echo 'boo'; class Satan { public function getDeibel() { return null; } } $satan = new \Satan(); if ($satan-getDeibel() && $satan->getDeibel()->getTeufel() === 'cap') { echo "Sheztan"; }
based on dq4RT
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function getDeibel() in /in/fisbc:17 Stack trace: #0 {main} thrown in /in/fisbc on line 17
Process exited with code 255.
Output for 5.3.19 - 5.6.21
Fatal error: Call to undefined function getDeibel() in /in/fisbc on line 17
Process exited with code 255.