Date: 11/15/99
- Next message: Bug Database: "[PHP-DEV] Bug #1201 Updated: PDF module segfaults the server"
- Previous message: Thies C. Arntzen: "Re: [PHP-DEV] cvs: /phpdoc/language types.sgml"
- In reply to: Thies C. Arntzen: "Re: [PHP-DEV] cvs: /phpdoc/language types.sgml"
- Next in thread: Torben Wilson: "[PHP-DEV] cvs: /phpdoc/language types.sgml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Bug Database: "[PHP-DEV] Bug #1201 Updated: PDF module segfaults the server"
- Previous message: Thies C. Arntzen: "Re: [PHP-DEV] cvs: /phpdoc/language types.sgml"
- In reply to: Thies C. Arntzen: "Re: [PHP-DEV] cvs: /phpdoc/language types.sgml"
- Next in thread: Torben Wilson: "[PHP-DEV] cvs: /phpdoc/language types.sgml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

