note 76087 added to function.call-user-func

From: Date: Fri, 29 Jun 2007 11:55:54 +0000
Subject: note 76087 added to function.call-user-func
Groups: php.notes 
Request: Send a blank email to php-notes+get-128084@lists.php.net to get a copy of this message
referring to Mr.KTO (and Bug #24931): [system: PHP 5.2.0-8] - _doesnt_ pass by reference, at least when using the old syntax with the '&'. when you pass your object by reference using call_user_func, any changes made on that object within the called function wont effect your "original" object. you should use mixed call_user_func_array ( callback $function, array $param_arr ) instead or eval() (slower). ---- Server IP: 217.160.72.57 Probable Submitter: 217.7.198.166 ---- Manual Page -- http://www.php.net/manual/en/function.call-user-func.php Edit -- https://master.php.net/note/edit/76087 Del: integrated -- https://master.php.net/note/delete/76087/integrated Del: useless -- https://master.php.net/note/delete/76087/useless Del: bad code -- https://master.php.net/note/delete/76087/bad+code Del: spam -- https://master.php.net/note/delete/76087/spam Del: non-english -- https://master.php.net/note/delete/76087/non-english Del: in docs -- https://master.php.net/note/delete/76087/in+docs Del: other reasons-- https://master.php.net/note/delete/76087 Reject -- https://master.php.net/note/reject/76087 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128084) next »