Re: note 13695 added to functions.variable-functions.php
| From: | Zak Greant | Date: | Sat, 30 Jun 2001 07:26:04 +0000 |
| Subject: | Re: note 13695 added to functions.variable-functions.php | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-14779@lists.php.net to get a copy of this message | ||
Hi Dylan,
You can't call non-existent functions with variable functions.
--zak
----- Original Message -----
From: <Dylan_G@t.chek.com>; <bigfoot.com@php2.chek.com>
To: <php-notes@lists.php.net>
Sent: Friday, June 29, 2001 1:57 AM
Subject: [PHP-NOTES] note 13695 added to functions.variable-functions.php
> This page implies that variable functions work. They don't. At least,
not if you try to do something like:
>
> $temp_array = explode(";", $filters);
> foreach($temp_array as $filt_func)
> $header[$filt_func] = $filt_func($body);
>
> Then it will complain:
>
> 'Fatal error: Call to undefined function: ()'
>
> I don't know why.
>
> http://www.php.net/manual/en/functions.variable-functions.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail: php-notes-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>