As in Perl, you can access a value from the array inside double quotes. However, with PHP you'll need to enclose your array between curly braces.
Example #4 Accessing an array inside double quotes
'baz');
echo "Hello {$foo['bar']}!"; // Hello baz!
?>
refer this page