- define: documentation ( source)
<?php
define('foo', 'bar');
$foo = array('yes');
$c = 'no';
echo "r1: $foo[0]\n";
echo "r2: ${foo[0]}\n";
echo "r3: ${ foo[0]}\n";
echo "r4: ${foo[0] }\n";
echo "r5: ${foo [0]}\n";
echo "r6: ${foo[0 ]}\n";
echo "r7: ${ foo [ 0 ] }\n";