run code in 150+ php & hhvm versions
Bugs & Features
<?php $array[something] = "Something is not a string. It's a constant. But because it's not found, PHP will assume you meant a string."; //And if you error reporting is off, you'll never know.
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0RC4
Notice: Use of undefined constant something - assumed 'something' in /in/0CXk3 on line 3
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/0CXk3 on line 5
Process exited with code 255.