Re: Eval To String

From: Date: Wed, 07 Dec 2005 16:02:25 +0000
Subject: Re: Eval To String
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227062@lists.php.net to get a copy of this message
Shaun Shaun wrote: > Is it possible to return the result of eval function to a string rather than > outputting directly to the browser? ob_start(); eval('$eval = "evil";'); $output = ob_get_clean(); Cheers, David Grant -- David Grant http://www.grant.org.uk/

« previous php.general (#227062) next »