note 76087 deleted from function.call-user-func by cmb

From: Date: Sun, 08 Dec 2019 11:15:32 +0000
Subject: note 76087 deleted from function.call-user-func by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213452@lists.php.net to get a copy of this message
Note Submitter: lsblsb at gmx dot de ---- 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).

« previous php.notes (#213452) next »