php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14403 $obj->eval()
Submitted: 2001-12-10 10:24 UTC Modified: 2003-04-26 06:57 UTC
From: foobardotcom at poczta dot onet dot pl Assigned:
Status: No Feedback Package: Feature/Change Request
PHP Version: 4.1.0 OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: foobardotcom at poczta dot onet dot pl
New email:
PHP Version: OS:

 

 [2001-12-10 10:24 UTC] 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"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-22 00:04 UTC] pollita@php.net
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.



 [2003-04-26 06:57 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC