3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace A; function Hello() { echo __NAMESPACE__; } namespace B; function Hello() { echo __NAMESPACE__; } namespace C; \B\Hello(); \A\Hello();
based on fgkGJ
Output for 5.6.38 - 7.3.0rc3
BA