3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace X { namespace Y { namespace Z {} } }
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Fatal error: Namespace declarations cannot be nested in /in/kRUNj on line 3
Process exited with code 255.

preferences:
162.21 ms | 1457 KiB | 7 Q