3v4l.org

run code in 300+ PHP versions simultaneously
<?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. echo $array[something];

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
177.9 ms | 2850 KiB | 8 Q