[PHP-DEV] PHP 4 Bug Summary Report

2005-05-16 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (770 total including feature requests) ===[*Compile Issues]== 33040 Open make test fails ( Array to string conversion ) - missing directory in 4.3.11 ===

[PHP-DEV] Function proposal

2005-05-16 Thread AnteD
Hi guys... Yes I know that this is a small function and yes I know it can be copy-paste with every new project you do but from the first day I've been using PHP until today this function follows me everywhere and I now that everyone is using it one way or the other for debugging.. the probl

[PHP-DEV] PHP 5 Bug Summary Report

2005-05-16 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (278 total including feature requests) ===[*General Issues]== 29971 Assigned variables_order behaviour 32967 Open __FILE__ has relative patch: Should always be

Re: [PHP-DEV] Function proposal

2005-05-16 Thread Benj Carson
Hmm, it's no GOTO, but oddly enough we have virtually exactly the same function and use it everywhere too. The only differences are we call ours pre_r() and we add the following check against php_sapi_name() so that the function behaves sanely when called from the cli: function pre_r($mixed, $

Re: [PHP-DEV] Function proposal

2005-05-16 Thread Sean Coates
AnteD wrote: Yes I know that this is a small function and yes I know it can be copy-paste with every new project you do but from the first day I've been using PHP until today this function follows me everywhere and I now that everyone is using it one way or the other for debugging.. ... The

Fwd: Re: [PHP-DEV] Function proposal

2005-05-16 Thread Petar Nedyalkov
On Friday 13 May 2005 14:29, AnteD wrote: > Hi guys... > > Yes I know that this is a small function and yes I know it can be > copy-paste with every new project you do but from the first day I've > been using PHP until today this function follows me everywhere and I now > that everyone is using it

[PHP-DEV] Re: Function proposal

2005-05-16 Thread Greg Beaver
AnteD wrote: /** * Prints the variable in HTML format... * * @param mixed $var * @param bool $return return or print the var * @return string */ function print_pre($var, $return = false) { $retval = ÂÂ.print_r($var, true).Â; if($return) return $retval; print($retval); } oklet

Re: [PHP-DEV] Function proposal

2005-05-16 Thread Derick Rethans
On Mon, 16 May 2005, Sean Coates wrote: > AnteD wrote: > > Yes I know that this is a small function and yes I know it can be copy-paste > > with every new project you do but from the first day I've been using PHP > > until today this function follows me everywhere and I now that everyone is > > us

Re: [PHP-DEV] Function proposal

2005-05-16 Thread Sara Golemon
> > > Yes I know that this is a small function and yes I know it can be copy-paste > > > with every new project you do but from the first day I've been using PHP > > > until today this function follows me everywhere and I now that everyone is > > > using it one way or the other for debugging..

[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

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

Re: [PHP-DEV] Function proposal

2005-05-16 Thread Marcus Boerger
Hello AnteD, Friday, May 13, 2005, 1:29:36 PM, you wrote: > Hi guys... > Yes I know that this is a small function and yes I know it can be > copy-paste with every new project you do but from the first day I've > been using PHP until today this function follows me everywhere and I now > that e