On Sun, August 26, 2007 12:46 am, Robert Keizer wrote:
> I am currently working on a module testing class, I can't seem to find
> the
> correct syntax. Here is an example of the problem:
>
> function foo( $var ){
> include $var.'.php';
> return $var(); //
I tested this functionality.
This is working fine.
foo.php
somefunction.php
Out put is hello.
You make sure that your both files are in same folder and make sure that
$var.'.php' is exist with $var function.
Warm Regards,
Sanjeev
http://www.sanchanworld.com/
http://webdirector
On Sat, 2007-08-25 at 23:46 -0600, Robert Keizer wrote:
> I am currently working on a module testing class, I can't seem to find the
> correct syntax. Here is an example of the problem:
>
> function foo( $var ){
> include $var.'.php';
> return $var(); //
3 matches
Mail list logo