Re: [PHP-DEV] Re: Tweaking "expects parameter # to be..." message

2006-09-13 Thread Andrei Zmievski
Show me how many times we use "instance" versus "object" in PHP. -Andrei On Sep 11, 2006, at 5:31 PM, Marcus Boerger wrote: Hello Andrei, for some reason i like "instance of class" better than "class object". The reason is that we have instances rather than objects - So it's a purist th

Re: [PHP-DEV] Re: Tweaking "expects parameter # to be..." message

2006-09-11 Thread Marcus Boerger
Hello Andrei, for some reason i like "instance of class" better than "class object". The reason is that we have instances rather than objects - So it's a purist thing. best regards marcus Monday, September 11, 2006, 6:44:08 PM, you wrote: > How is "instance of" different from "object"? > -A

Re: [PHP-DEV] Re: Tweaking "expects parameter # to be..." message

2006-09-11 Thread Andrei Zmievski
How is "instance of" different from "object"? -Andrei On Sep 10, 2006, at 11:44 PM, Marcus Boerger wrote: Hello Hannes, with your changewe'd have: "Warning: token_get_all() expects parameter 1 to be binary string, stdClass object given in %s on line %d" i would like the followingmore:

Re: [PHP-DEV] Re: Tweaking "expects parameter # to be..." message

2006-09-10 Thread Marcus Boerger
Hello Hannes, with your changewe'd have: "Warning: token_get_all() expects parameter 1 to be binary string, stdClass object given in %s on line %d" i would like the followingmore: "Warning: token_get_all() expects parameter 1 to be binary string, instance ofstdClass given in %s on line %d"