note 97473 added to function.call-user-func-array
| From: | noone at example dot com | Date: | Wed, 21 Apr 2010 22:03:19 +0000 |
| Subject: | note 97473 added to function.call-user-func-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168488@lists.php.net to get a copy of this message | ||
For those of you that have to consider performance: it takes about 3 times as long to call the
function this way than via a straight statement, so whenever it is feasible to avoid this method
it's a wise idea to do so.
Note that eval() is about 10 times slower than a straight statement to call a function with
arguments, so this is definitely a better option than using eval() even if you only consider
performance.
----
Server IP: 192.41.40.227
Probable Submitter: 66.68.12.218
----
Manual Page -- http://www.php.net/manual/en/function.call-user-func-array.php
Edit -- https://master.php.net/note/edit/97473
Del: integrated -- https://master.php.net/note/delete/97473/integrated
Del: useless -- https://master.php.net/note/delete/97473/useless
Del: bad code -- https://master.php.net/note/delete/97473/bad+code
Del: spam -- https://master.php.net/note/delete/97473/spam
Del: non-english -- https://master.php.net/note/delete/97473/non-english
Del: in docs -- https://master.php.net/note/delete/97473/in+docs
Del: other reasons-- https://master.php.net/note/delete/97473
Reject -- https://master.php.net/note/reject/97473
Search -- https://master.php.net/manage/user-notes.php