> -----Original Message-----
> From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]]
> Sent: 10 May 2002 06:40

[....]

> http://www.php.net/manual/en/language.types.string.php#language.types.
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: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 


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

Reply via email to