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

2007-08-26 Thread Robert Keizer
Thats great thanks, but it doesn't solve my problem completly, im trying to use $output = $var(); .. which gives me an error. The $var(); works though, so thanks for that. Robert Keizer Robert Keizer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am currently working on a module

[PHP] Re: determine which string is longer and then what is different in that string

2007-08-26 Thread Robert Keizer
into 12345678 and 246810 respectfully, so you could do simple add, subtract, greater than, less than, etc... hope this was helpful. Robert Keizer Richard Kurth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to find out which string is the longest and then find out what

[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(); // !--- problem }; foo(somefunction); In other words I am looking for a way to call a