RE: [PHP] Re: why doesn't $books[$val][display] show the value
| From: | Ford, Mike [LSS] | Date: | Fri, 10 May 2002 11:21:07 +0000 |
| Subject: | RE: [PHP] Re: why doesn't $books[$val][display] show the value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96933@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Peter J. Schoenster [mailto:peter@schoenster.com]
> Sent: 10 May 2002 06:40
[....]
>
> http://www.php.net/manual/en/language.types.string.php#language.types.ÎÃDî�ùu$”¾ß
> ƒ
string.parsing
>
> Where I see this example (in complex syntax section):
>
> > // This is wrong for the same reason
> > // as $foo[bar] is wrong outside a string.
> > echo "This is wrong: {$arr[foo][3]}";
>
> there is no wrong reason above that example.
I think you may be misinterpreting here -- the two comment lines should be read as one complete
sentence: "This is wrong for the same reason as $foo[bar] is wrong outside a string.", so
there is, in fact, no reference to a preceding example.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211