3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace a; define('t', true, true); define('a\\true', false, t); define('a\\false', t, t); namespace Api\Something { } namespace Api\SomethingElse { use \Api\Something as Private; }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Fatal error: Cannot mix bracketed namespace declarations with unbracketed namespace declarations in /in/cjCst on line 9
Process exited with code 255.

preferences:
179.3 ms | 1395 KiB | 64 Q