Re: cvs: /phpdoc/language types.sgml
| From: | Lars Torben Wilson | Date: | Mon, 15 Nov 1999 08:48:43 +0000 |
| Subject: | Re: cvs: /phpdoc/language types.sgml | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12554@lists.php.net to get a copy of this message | ||
Thies C. Arntzen writes:
> > echo "This won't work: {$a[3][bar]}";
>
> how about:
> echo "This won't work: {$a[3]["bar"]}";
>
> (does not gererate a "Use of undefined constant hallo" warning)
>
> tc
Hm, you're right. That's really weird--I would have expected the
unescaped double quotes to mess up the string. Weird
inconsistency. But you're right: the bar does now generate an
undefined constant warning under PHP4--which is more consistent than,
but different from PHP3.
Torben