3v4l.org

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