3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Api\Something { class Foo { } } use \Api\Something as Privite;
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Fatal error: No code may exist outside of namespace {} in /in/lUSMs on line 11
Process exited with code 255.

preferences:
187.19 ms | 1387 KiB | 64 Q