Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
Diogo Neves schreef: Hi, On Sat, Aug 30, 2008 at 6:20 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: please keep replies on list unless your intending to pay me an hourly fee ... Yeap, i'm new in the list and i missed te cc of list... i'll try to remember, sorry okay. Diogo Neves schreef: N

Re: [PHP] Function __call

2008-08-30 Thread Diogo Neves
Hi, On Sat, Aug 30, 2008 at 6:20 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > please keep replies on list unless your intending to pay me > an hourly fee ... Yeap, i'm new in the list and i missed te cc of list... i'll try to remember, sorry > > Diogo Neves schreef: Now in understand "schreef"

Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
please keep replies on list unless your intending to pay me an hourly fee ... Diogo Neves schreef: On Sat, Aug 30, 2008 at 4:40 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: Diogo Neves schreef: ... nop... I wanna manipulate the $this and the $arguments, and possible don't even execute the pr

Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
Diogo Neves schreef: thanks, well, the 'new' woks the same with ou without '()' after class, I think... you think? I gave you code that shows exactly that. but you wrote the following: new $user = new user(); which is not correct, the first new in that line is a syntax error. that me

Re: [PHP] Function __call

2008-08-30 Thread Diogo Neves
thanks, well, the 'new' woks the same with ou without '()' after class, I think... and I now how it works, i only don't understand why... if the method is not available outside of class it should go to __call function like if it doesn't exist... it doesn't make any sense to anyone else? On Sat,

Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
Diogo Neves schreef: hi all, I'm sending this email only to ask if someone know if the works of __call in private methods is bug or feature. ex. class user { public function __call ( $name, $arguments ) { do something return call_user_func( array( $this, $name ), $arguments ); the fatal erro