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
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
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
> > > 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..
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
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
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
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
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, $
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
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 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
===
12 matches
Mail list logo