RE: [PHP-DOC] cvs: phpdoc /en/reference/misc/functions eval.xml

From: Date: Wed, 24 May 2006 15:13:42 +0000
Subject: RE: [PHP-DOC] cvs: phpdoc /en/reference/misc/functions eval.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373105@lists.php.net to get a copy of this message
> > Seriously ? I translate that and I'm really wondering the truth about > > that... Is it like > > > > $code_str = '?><?php echo 'something'; ?>'; > > That's what I was writing about. > > Or I'm just wrong and don't understand what you said ? It > > makes no sense > > for me to do that... The sense is you can do stuff like $code_str = '<html>...<body><?php echo $something; ?></body></html>'; And then prepend that string with '?>' when using eval: eval('?>'. $code_str); Where $code_str might as well be read from a database. > > Maybe it's good or just need a little rewording. I'll think of some rewording. I did not want to add a whole paragraph to the manual page as doing things like the above example was obvious to me but some people didn't realize that was possible. Olli

Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
« previous php.doc (#969373105) next »