3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (PHP >= 7) { return; } class String { }
Output for 7.0.0 - 7.0.1
Fatal error: Cannot use 'String' as class name as it is reserved in /in/Jthed on line 7
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Notice: Use of undefined constant PHP - assumed 'PHP' in /in/Jthed on line 3