3v4l.org

run code in 300+ PHP versions simultaneously
<?php // https://bugs.php.net/bug.php?id=71927 define('great','my'); $great='fantastic'; $my='my value'; echo "This is ", ${great }, "\n"; echo "This is ", ${ great}, "\n"; echo "This is ", ${ great }, "\n"; echo "This is ", ${great}, "\n";

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
158.42 ms | 2310 KiB | 11 Q