Re: [PHP] Delegating variable-length argument lists

2010-07-05 Thread Jakob Günther
Am 02.07.2010 19:34, schrieb Adam Richardson: > On Fri, Jul 2, 2010 at 11:49 AM, Jakob Günther <mailto:macgu...@web.de>> wrote: > > > I did not find a solution, so i tried passing a array with references. > > $arr = array(&$a, &$b); > bi

Re: [PHP] Delegating variable-length argument lists

2010-07-02 Thread Jakob Günther
worked in a test-case in one file. But if i call the bind-param-method from another class it did not work. Do you have any suggestions on this? Am 02.07.2010 17:25, schrieb Jakob Günther: > Hi, > > i'm writing a custom wrapper for the mysqli_stmt class. I have to > override the

[PHP] Delegating variable-length argument lists

2010-07-02 Thread Jakob Günther
Hi, i'm writing a custom wrapper for the mysqli_stmt class. I have to override the method mysqli_stmt::bind_param. This function uses "variable-length argument lists". In my function i want to delegate its arguments to the original function. My first naiv implementation was that: function bind_p