1 2 3 4 5 6 7
<?php error_reporting(-1); $array['key'] = 1; echo "A string with an $array[key] variable in it";
1
A string with an 1 variable in it