Re: [PHP-DEV] Patch for php_error_cb

2005-05-17 Thread Wez Furlong
You could submit your extension to http://pecl.php.net if you'd like to encourage others to make use of it. --Wez. On 5/17/05, Blake Matheny <[EMAIL PROTECTED]> wrote: > After George's comments, I think I'll just write up an extension and > throw it out there. I can still support a script:,file:,

Re: [PHP-DEV] Patch for php_error_cb

2005-05-17 Thread Blake Matheny
After George's comments, I think I'll just write up an extension and throw it out there. I can still support a script:,file:,socket:,sql: convention for naming and meet all of my requirements. Thanks for the feedback. -Blake Wez Furlong wrote: On 5/17/05, Blake Matheny <[EMAIL PROTECTED]> wrote

Re: [PHP-DEV] Patch for php_error_cb

2005-05-17 Thread Wez Furlong
On 5/17/05, Blake Matheny <[EMAIL PROTECTED]> wrote: > - No need to add an extension every time you upgrade PHP But you still need to write a custom shared library, so this is not such a great point. > - No additional patching (which an extension essentially requires) But you still need to write

Re: [PHP-DEV] Patch for php_error_cb

2005-05-17 Thread George Schlossnagle
On May 17, 2005, at 8:04 AM, Blake Matheny wrote: Is there anything incorrect/wrong with the solution I proposed? I realize that a custom extension would also work, but there are several advantages to doing it the way I implemented it - No need to add an extension every time you upgrade PHP Yo

Re: [PHP-DEV] Patch for php_error_cb

2005-05-17 Thread Blake Matheny
Is there anything incorrect/wrong with the solution I proposed? I realize that a custom extension would also work, but there are several advantages to doing it the way I implemented it - No need to add an extension every time you upgrade PHP - No additional patching (which an extension essential

Re: [PHP-DEV] Patch for php_error_cb

2005-05-17 Thread Derick Rethans
On Mon, 16 May 2005, George Schlossnagle wrote: > > On May 16, 2005, at 3:16 PM, Blake Matheny wrote: > > > Attached is a small patch that allows for a custom error handler to be used > > instead of php_log_err. This is useful for custom logging of error types > > that can't be handled with a us

Re: [PHP-DEV] Patch for php_error_cb

2005-05-16 Thread George Schlossnagle
On May 16, 2005, at 3:16 PM, Blake Matheny wrote: Attached is a small patch that allows for a custom error handler to be used instead of php_log_err. This is useful for custom logging of error types that can't be handled with a user-space error handler (such as E_ERROR, E_PARSE, etc.). In or

[PHP-DEV] Patch for php_error_cb

2005-05-16 Thread Blake Matheny
Attached is a small patch that allows for a custom error handler to be used instead of php_log_err. This is useful for custom logging of error types that can't be handled with a user-space error handler (such as E_ERROR, E_PARSE, etc.). In order to use a custom error handler set error_log to so