[PHP-DEV] Generating code on fly

2001-05-06 Thread Pisman Dmitriy

How to solve such problem:
  I need to generate PHP code on fly and then execute it.
  For example, $s='$var+=5;'  - how to tell php to execute this code.
Waiting for your replies.


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Generating code on fly

2001-05-06 Thread Zeev Suraski

This is not the right forum to ask this type of questions - it's for people 
who develop PHP, not (necessarily) people who develop with PHP.  The right 
forum to ask this question would be [EMAIL PROTECTED]

In order to cut down time, look at http://www.php.net/eval

Zeev

At 12:23 6/5/2001, Pisman Dmitriy wrote:
How to solve such problem:
   I need to generate PHP code on fly and then execute it.
   For example, $s='$var+=5;'  - how to tell php to execute this code.
Waiting for your replies.


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
Zeev Suraski [EMAIL PROTECTED]
CTO   co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]