On Sat, Jul 12, 2008 at 6:42 PM, James Dempster <[EMAIL PROTECTED]> wrote:
> On the line where you have
> self::$statement->call_user_func_array(array('PDOStatement','bindParam'),func_get_args());
> try this
>
> call_user_func_array(array(self::$statement,'bindParam'),func_get_args());
>
> see if
On the line where you have
self::$statement->call_user_func_array(array('PDOStatement','bindParam'),func_get_args());
try this
call_user_func_array(array(self::$statement,'bindParam'),func_get_args());
see if that works...?
On Sat, Jul 12, 2008 at 5:36 PM, Luigi Perroti <[EMAIL PROTECTED]>
wrot
On Sat, Jul 12, 2008 at 6:00 PM, James Dempster wrote:
> You might want to take a look at
> http://php.net/manual/en/function.call-user-func-array.php
Thank you very much for your suggestion.
I've looked into it but I guess this doesn't work with what I'm trying to
do, although what you suggest
You might want to take a look at
http://php.net/manual/en/function.call-user-func-array.php
On Sat, Jul 12, 2008 at 4:57 PM, Luigi Perroti <[EMAIL PROTECTED]>
wrote:
> Hello, I'm trying to implement a few simple wrappers for some PHP
> functions.
>
> Here's an example of what I'm trying to do:
Hello, I'm trying to implement a few simple wrappers for some PHP functions.
Here's an example of what I'm trying to do:
function myWrapper() {
return defaultPhpFunction(func_get_args());
}
The example above is broken since I'm just passing an array to the original
function.
The only way to
5 matches
Mail list logo