Bug #15101: eval() in other context
| From: | tom dot polak at post dot sk | Date: | Fri, 18 Jan 2002 14:45:07 +0000 |
| Subject: | Bug #15101: eval() in other context | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77432@lists.php.net to get a copy of this message | ||
From: tom.polak@post.sk
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:tom.polak@post.sk
--
Edit bug report at: http://bugs.php.net/?id=15101&edit=1