#25354 [NEW]: Easy access to class/object methods/vars

From: Date: Tue, 02 Sep 2003 09:28:41 +0000
Subject: #25354 [NEW]: Easy access to class/object methods/vars
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47052@lists.php.net to get a copy of this message
From: morten at nilsen dot com Operating system: All PHP version: 4.3.2 PHP Bug Type: Feature/Change Request Bug description: Easy access to class/object methods/vars 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 bug report at http://bugs.php.net/?id=25354&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25354&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25354&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25354&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25354&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25354&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25354&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25354&r=support Expected behavior: http://bugs.php.net/fix.php?id=25354&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25354&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25354&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25354&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25354&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25354&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25354&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25354&r=gnused

« previous php.bugs (#47052) next »