Re: Recursive PHP tag resolution
| From: | Christian Reiniger | Date: | Sat, 06 Oct 2001 09:58:51 +0000 |
| Subject: | Re: Recursive PHP tag resolution | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70213@lists.php.net to get a copy of this message | ||
On Saturday 06 October 2001 09:34, Rasmus Lerdorf wrote:
> Isn't that just an eval() ?
>
> On Sat, 6 Oct 2001, John Gunther (Bucks vs Bytes Inc) wrote:
> > I've used recursive text expansion to great advantage in many
> > contexts over the years, and I'd like to ask if there's any way to
> > make this happen in PHP. Recursive token resolution (RTR) can greatly
> > simplify programming logic. With RTR, text generated by, for example,
> > a PHP echo statement, would in turn be processed by PHP as though it
> > were there from the outset. If that newly generated text contained
> > PHP tags and code, their evaluation would affect the resulting page.
> > Here's a trivial example:
I think he rather means something like automatic output buffering.
John: http://php.net/ob_start
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
I saw God --------- and she was black.