3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Hello{ public static function outPut(){ return "hello world"; } public static function contentSecond(){ return "Output from second function easily ".self::outPut(); } } Hello::contentSecond();
based on IHBe9
Output for 5.6.38 - 7.3.0rc3