#25354 [Opn->WFx]: Easy access to class/object methods/vars
| From: | helly@php.net | Date: | Tue, 02 Sep 2003 09:37:44 +0000 |
| Subject: | #25354 [Opn->WFx]: Easy access to class/object methods/vars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47053@lists.php.net to get a copy of this message | ||
ID: 25354
Updated by: helly@php.net
Reported By: morten at nilsen dot com
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.3.2
New Comment:
Maybe you come back when we start developing PHP 6 :-)
Previous Comments:
------------------------------------------------------------------------
[2003-09-02 04:28:40] morten at nilsen dot com
Description:
------------
It would be quite nifty with something like this:
with($class) {
set("myvar1", "myvalue1");
set("myvar2", "myvalue2");
set("myvar3", "myvalue3");
set("myvar4", func_not_in_class("foo"));
}
instead of doing something like this:
$class->set("myvar1", "myvalue1");
$class->set("myvar2", "myvalue2");
$class->set("myvar3", "myvalue3");
$class->set("myvar4", func_not_in_class("foo"));
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25354&edit=1