3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { public static function test() { function concat() { echo 'concat'; } concat(); } } A::test(); concat();
based on 4Urk8
Output for 5.5.0 - 7.3.0rc3
concatconcat