3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Obj { function object() { return 'Object and object' . PHP_EOL; } } echo Obj::object();
based on cA6sJ
Output for 7.0.0 - 7.2.0
Deprecated: Non-static method Obj::object() should not be called statically in /in/iaZc6 on line 9 Object and object
Output for 5.3.18 - 5.6.28
Strict Standards: Non-static method Obj::object() should not be called statically in /in/iaZc6 on line 9 Object and object