3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public function foo() { echo 'foo'; } } $bar = new Test; var_dump($bar::foo());
Output for 7.3.0rc3
Deprecated: Non-static method Test::foo() should not be called statically in /in/serM2 on line 10 fooNULL