Re: [PHP] Calling functions which names are inside a variable

2007-08-26 Thread Richard Lynch
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(); //

RE: [PHP] Calling functions which names are inside a variable

2007-08-25 Thread Sanjeev N
ions which names are inside a variable 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(); //

Re: [PHP] Calling functions which names are inside a variable

2007-08-25 Thread Robert Cummings
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(); //

[PHP] Calling functions which names are inside a variable

2007-08-25 Thread Robert Keizer
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(); //