On Friday 12 April 2002 14:17, Nick Richardson wrote: > Following on the same subject (kinda) of Variable Variables... i have > actually wondered this before... is there a difference between these 2 > blocks?? (both should print "worldhello" if i am not mistaken, but is there > a difference in how the nested variable is handled when it's inside curly > braces?):
The {} are to resolve ambiguities. In your simple example there are no ambiguities thus both give the same result. See manual for example(s) where {} needs to be used. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Just because you're paranoid doesn't mean they AREN'T after you. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php