3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace MyNamespace { register_shutdown_function("MyNamespace\myHandeler"); // this throws no error. function myHandeler() { // Some Code. } }
Output for 5.3.4 - 7.1.0
Output for 5.2.15 - 5.2.17
Parse error: syntax error, unexpected T_STRING in /in/3ms9T on line 2
Process exited with code 255.