[PHP-DEV] Using child classes/interfaces as desired type hints

2010-10-06 Thread Nathan Nobbe
Hi, Probly rehashing an old conversation here, but I'm wondering why the following isn't supported This results in a fatal Fatal error: Declaration of ConcreteClient::doStuff() must be compatible with that of AbstractClient::doStuff() in /Users/quickshiftin/gitRepos/timberline/php-api-v15-clien

[PHP-DEV] [PATCH]call exit in user error handler cause PHP stream core dump

2010-10-06 Thread 惠新宸
Hi: because in PHP exit is implements by set/longjmp when use set_error_handler, and call exit in use_handler, according to the normal sequence 1. php_stream_wrapper_log_error 2. php_stream_display_wrapper_errors -> php_error_docref1 3. php_stream_tidy_wrapper

Re: [PHP-DEV] RFC: Comparable interface

2010-10-06 Thread Gustavo Lopes
On Wed, 06 Oct 2010 16:32:40 +0100, Richard Lynch wrote: On Tue, October 5, 2010 5:44 am, Gustavo Lopes wrote: On Tue, 05 Oct 2010 04:31:14 +0100, Richard Lynch wrote: On Sun, October 3, 2010 12:34 pm, Gustavo Lopes wrote: * The current behavior for >, <, etc. is completely useless. It's u

Re: [PHP-DEV] RFC: Comparable interface

2010-10-06 Thread Richard Lynch
On Tue, October 5, 2010 5:44 am, Gustavo Lopes wrote: > On Tue, 05 Oct 2010 04:31:14 +0100, Richard Lynch > wrote: > >> On Sun, October 3, 2010 12:34 pm, Gustavo Lopes wrote: >>> * The current behavior for >, <, etc. is completely useless. It's >>> unpredictable and it doesn't even establish a tot