Re: [PHP-DEV] cvs: /phpdoc/language types.sgml From: Lars Torben Wilson (torben <email protected>)
Date: 11/15/99

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>