3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace strict { class Foo {} } namespace { error_reporting(E_ERROR); } namespace { use strict; }
Output for 5.4.0 - 5.5.0
Fatal error: You seem to be trying to use a different language... in /in/uDT7j on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Warning: The use statement with non-compound name 'strict' has no effect in /in/uDT7j on line 12