3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = NULL; print $a->some_prop();
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to a member function some_prop() on null in /in/HXhh7:5 Stack trace: #0 {main} thrown in /in/HXhh7 on line 5
Process exited with code 255.
Output for 5.6.8 - 5.6.28
Fatal error: Call to a member function some_prop() on null in /in/HXhh7 on line 5
Process exited with code 255.
Output for 5.3.28 - 5.3.29, 5.4.20 - 5.5.35
Fatal error: Call to a member function some_prop() on a non-object in /in/HXhh7 on line 5
Process exited with code 255.
Output for 5.0.0 - 5.3.27, 5.4.0 - 5.4.19
Fatal error: Call to a member function some_prop() on a non-object in /in/G5kLJ on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Call to a member function on a non-object in /in/G5kLJ on line 5
Process exited with code 255.
Output for 4.3.1
Fatal error: Call to a member function on a non-object in /in/G5kLJ on line 5
Output for 4.3.0
Fatal error: Call to a member function on a non-object in /in/HXhh7 on line 5