Re: string evaluation

From: Date: Fri, 17 Nov 2000 00:45:06 +0000
Subject: Re: string evaluation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25828@lists.php.net to get a copy of this message
On Thu, 16 Nov 2000, Chris McKeever wrote: > is there a way to make a string containing another string, but not have the > inner string evaluated right away? > > > $new_string = "Once there was a $animal_type"; > > This was I can pass $new_string around and have it evaluate when I want ot > to evaluate? > > Thanks > Look at http://www.php.net/manual/html/function.eval.html. -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.general (#25828) next »