Re: [PHP-DEV] call_user_*()

2001-05-13 Thread Sterling Hughes
Stefan Livieratos wrote: > "Sterling Hughes" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Whereas, replacing the call_user_func above with the following: call_user_func($name, array($param1)); >>>Well, I thought that th

Re: [PHP-DEV] call_user_*()

2001-05-13 Thread Stefan Livieratos
"Sterling Hughes" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >> > >> Whereas, replacing the call_user_func above with the following: > >> > >> call_user_func($name, array($param1)); > >> > > > > Well, I thought that the function call_user_func_a

Re: [PHP-DEV] call_user_*()

2001-05-13 Thread Wez Furlong
On 2001-05-13 06:36:33, "Sterling Hughes" <[EMAIL PROTECTED]> wrote: > Stefan Livieratos wrote: > > Well, I thought that the function call_user_func_array() is supposed to > > be called this way. What good is it anyway? I suggest > > 'call_user_func_array' should be removed as it is not needed and

Re: [PHP-DEV] call_user_*()

2001-05-12 Thread Sterling Hughes
Stefan Livieratos wrote: > "Sterling Hughes" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>Howdy all, >> I've been going through the call_user_*() functions in >>basic_functions.c and just a couple of notes/things I found odd. >> >> 1) With a

Re: [PHP-DEV] call_user_*()

2001-05-12 Thread Stefan Livieratos
"Sterling Hughes" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Howdy all, > I've been going through the call_user_*() functions in > basic_functions.c and just a couple of notes/things I found odd. > >1) With a aforementioned bug, thies was ri

Re: [PHP-DEV] call_user_*()

2001-05-12 Thread Andrei Zmievski
At 03:28 PM 5/12/01 -0400, Sterling Hughes wrote: >Also, since the call_user_method*() functions are repetitive, we should >probably nuke them at one point (and for now, have an E_NOTICE message >saying that "these functions are outdated, use the array($obj, "method") >syntax"). > >Thoughts? Y

[PHP-DEV] call_user_*()

2001-05-12 Thread Sterling Hughes
Howdy all, I've been going through the call_user_*() functions in basic_functions.c and just a couple of notes/things I found odd. 1) With a aforementioned bug, thies was right, the following code fails, but it shouldn't: Fails. Whereas, replacing the call_user_func above