From:             [EMAIL PROTECTED]
Operating system: Solaris
PHP version:      4.1.0
PHP Bug Type:     Feature/Change Request
Bug description:  eval() in other context

Hello,
my request is to improve function eval() to be possible evaluate given
string in other than current context.
In SQLWindows, where I have programming before, I have this feature and
was very useful.
It means, that on the some place in script we save "context" to be used
for evaluate and receive some "resource variable" to identify it.
Lately, we can call eval() with this additional parameter to be able
evaluate given string in previously saved context.
In SQLWindows I have used this to "bind" variables into dynamicaly
generated SQL statements, because they were generated inside some
functions library, where the current local variables are not in scope.
If it is not clear, I can give you more specification.

If you do not realize this feature, send me info, to be not waiting in my
project on it.

Looking forward to your answer.

Best regards,
Tomas Polak
mailto:[EMAIL PROTECTED]
-- 
Edit bug report at: http://bugs.php.net/?id=15101&edit=1


-- 
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]

Reply via email to