#14403 [Opn->Fbk]: $obj->eval()
| From: | pollita@php.net | Date: | Tue, 22 Apr 2003 05:04:26 +0000 |
| Subject: | #14403 [Opn->Fbk]: $obj->eval() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38035@lists.php.net to get a copy of this message | ||
ID: 14403
Updated by: pollita@php.net
Reported By: foobardotcom at poczta dot onet dot pl
-Status: Open
+Status: Feedback
Bug Type: Feature/Change Request
Operating System: all
PHP Version: 4.1.0
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2001-12-10 10:24:36] foobardotcom at poczta dot onet dot pl
I wish You make it possible:
class Foo {
function oEval($code) {
eval($code);
}
}
$myFoo = new Foo();
$myFoo->oEval('
$this->a = "b";
$this->b = "c";
');
echo $myFoo->a; // should result "b"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14403&edit=1