3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (PHP_VERSION_ID < 70000) { class String { } }
based on DpDih
Output for 7.0.0 - 7.0.1
Fatal error: Cannot use 'String' as class name as it is reserved in /in/l7eRE on line 4
Process exited with code 255.
Output for 5.3.20 - 5.6.28