note 75580 deleted from function.call-user-func by danbrown
| From: | danbrown@php.net | Date: | Sat, 19 Jul 2008 21:03:39 +0000 |
| Subject: | note 75580 deleted from function.call-user-func by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141737@lists.php.net to get a copy of this message | ||
Note Submitter: email_naar_database at zonnet dot nl
----
In many cases you can do
$function='functionname';
$function($parameters);
this equals functionname($parameters);
The same goes for methods:
$method='methodname';
$this->$method($parameters);
which equals $this->methodname($parameters);