Not inside a quoted string.

On Mon, 24 Jun 2002, Johnson, Kirk wrote:

> I thought this syntax, an unquoted key name, was deprecated ;)
>
> >From the manual at http://www.php.net/manual/en/language.types.array.php:
>
> "You should always use quotes around an associative array index."
>
> Kirk
>
> > Nope, use:
> >
> > echo "This script is called $_SERVER[PHP_SELF]";
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to