3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { function stuff() { echo __CLASS__ . '::' . __FUNCTION__; } } $f = new Foo; $f->stuff();
Output for 5.0.0 - 7.1.0
Foo::stuff
Output for 4.3.0 - 4.4.9
foo::stuff