Re: problem calling functions
| From: | afan pasalic | Date: | Fri, 19 Oct 2007 17:31:25 +0000 |
| Subject: | Re: problem calling functions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263411@lists.php.net to get a copy of this message | ||
why then the code doesn't work?
the error I'm getting is: "Fatal error: Call to undefined function
solution1() in ..." even the function itself is just above the line that
calls function?
-afan
Stut wrote:
> Jay Blanchard wrote:
>> I don't think you can put a function name in a variable and call it like
>> $function($var).
>
> Yes you can - it's basically the same as variable variables.
>
> -Stut
>