[nycphp-talk] Variables syntax
David Mintz
dmintz at davidmintz.org
Fri Oct 28 16:29:40 EDT 2005
AFAIK: there is absolutely nothing unkosher about the
"this is a $array[key]"
syntax because PHP does not try to evaluate constants within double-quoted
strings (which makes sense, if you think about it -- it would have to
check every word). That's why you don't get a warning as you do if you
simply say
echo $array[key]
---
David Mintz
http://davidmintz.org/
More information about the talk
mailing list