RE: [PHP] function definition causing problems?

From: Date: Mon, 24 Jun 2002 17:29:40 +0000
Subject: RE: [PHP] function definition causing problems?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103633@lists.php.net to get a copy of this message
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 >

« previous php.general (#103633) next »