Re: Re: Variable wildcards

From: Date: Fri, 12 Apr 2002 06:25:39 +0000
Subject: Re: Re: Variable wildcards
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92723@lists.php.net to get a copy of this message
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. */

« previous php.general (#92723) next »