3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class CamelCases { } class camelcases { }
based on JIM6Z
Output for 7.0.0 - 7.1.0
Fatal error: Cannot declare class camelcases, because the name is already in use in /in/JqG5F on line 6
Process exited with code 255.
Output for 4.3.2 - 5.6.28
Fatal error: Cannot redeclare class camelcases in /in/JqG5F on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot redeclare class camelcases in /in/JqG5F on line 6