note 82451 added to function.call-user-method-array
| From: | cesutherlandgmailcom at osu1 dot php dot net | Date: | Fri, 11 Apr 2008 11:44:34 +0000 |
| Subject: | note 82451 added to function.call-user-method-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138181@lists.php.net to get a copy of this message | ||
Instead of this you should use call_user_func_array($function, $params) by passing array($classname,
$methodname) as the $function.
<?php
call_user_func_array(array($obj, $method_name), $params);
?>
----
Server IP: 217.13.201.10
Probable Submitter: 62.225.59.114
----
Manual Page -- http://www.php.net/manual/en/function.call-user-method-array.php
Edit -- https://master.php.net/note/edit/82451
Del: integrated -- https://master.php.net/note/delete/82451/integrated
Del: useless -- https://master.php.net/note/delete/82451/useless
Del: bad code -- https://master.php.net/note/delete/82451/bad+code
Del: spam -- https://master.php.net/note/delete/82451/spam
Del: non-english -- https://master.php.net/note/delete/82451/non-english
Del: in docs -- https://master.php.net/note/delete/82451/in+docs
Del: other reasons-- https://master.php.net/note/delete/82451
Reject -- https://master.php.net/note/reject/82451
Search -- https://master.php.net/manage/user-notes.php