|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-22 00:04 UTC] pollita@php.net
[2003-04-26 06:57 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
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"