note 126138 added to function.call-user-func-array
| From: | qwe at hi2 dot in | Date: | Fri, 04 Jun 2021 18:49:16 +0000 |
| Subject: | note 126138 added to function.call-user-func-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216472@lists.php.net to get a copy of this message | ||
Or you can call a function like
<?php
function foo($arg1, $arg2) {
echo __FUNCTION__, " got $arg1 and $arg2\n";
}
function bar($arg1, $arg2) {
echo __FUNCTION__, " got $arg and $arg2\n";
}
$run='foo';
$run('one', 'two');
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 85.203.34.106)
----
Manual Page -- https://php.net/manual/en/function.call-user-func-array.php
Edit -- https://main.php.net/note/edit/126138
Del: integrated -- https://main.php.net/note/delete/126138/integrated
Del: useless -- https://main.php.net/note/delete/126138/useless
Del: bad code -- https://main.php.net/note/delete/126138/bad+code
Del: spam -- https://main.php.net/note/delete/126138/spam
Del: non-english -- https://main.php.net/note/delete/126138/non-english
Del: in docs -- https://main.php.net/note/delete/126138/in+docs
Del: other reasons-- https://main.php.net/note/delete/126138
Reject -- https://main.php.net/note/reject/126138
Search -- https://main.php.net/manage/user-notes.php