From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 02, 2001 2:37 AM
>To: Chris Newbill; PHP DEV
>Subject: RE: [PHP-DEV] include() like functionality for strings
>
>
>I must have misunderstood you. Weren't you asking for an eval() which
>starts PHP in HTM
Chris Newbill; PHP DEV
Subject: RE: [PHP-DEV] include() like functionality for strings
I must have misunderstood you. Weren't you asking for an eval() which
starts PHP in HTML mode instead of PHP code mode?
Andi
At 06:06 PM 10/1/2001 -0600, Chris Newbill wrote:
>Why would we have to pa
>This would probably be best as a new function. I'm not sure how it would
>affect BC if eval was modified to handle this.
>
>-Chris
>
>-Original Message-
>From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
>Sent: Monday, October 01, 2001 5:55 PM
>To: Chris New
nt: Monday, October 01, 2001 5:55 PM
To: Chris Newbill; PHP DEV
Subject: Re: [PHP-DEV] include() like functionality for strings
There is no problem in getting it to work but the question is if we can do
it in a nice way.
How would eval() know if it's evaling something which should start in a PHP
There is no problem in getting it to work but the question is if we can do
it in a nice way.
How would eval() know if it's evaling something which should start in a PHP
or HTML context? You'd have to send it another argument. This would start
being a bit ugly.
Is it such a big deal?
Andi
At 05
Not sure what discussion has been done on this subject before, but here it
goes.
I wan't to be able to use a function that does the same thing as include,
except instead of passing a file name I pass the actual string to be
processed. This differs from eval() because the string may be all HTML.