ID: 25354
User updated by: morten at nilsen dot com
Reported By: morten at nilsen dot com
Status: Wont fix
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.3.2
New Comment:
I believe that would be now?
Previous Comments:
------------------------------------------------------------------------
[2003-09-02 04:37:43] [EMAIL PROTECTED]
Maybe you come back when we start developing PHP 6 :-)
------------------------------------------------------------------------
[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