|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-02 04:37 UTC] helly@php.net
[2006-04-30 21:27 UTC] morten at nilsen dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 10:00:01 2025 UTC |
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"));