|
Posted by Mara Guida on 12/12/05 00:28
Chameleon wrote:
> the code below...
> -------------------------------
> <?
> function errorHandler($errno, $str, $file, $line)
> {
> //if ($errno == E_STRICT) return;
> fwrite(STDERR, "\n\n$errno: $str\n\n");
> if ($errno == E_USER_ERROR) die();
> }
> set_error_handler('errorHandler');
>
if (PHP_VERSION >= '5.1.0RC1')
date_default_timezone_set('Europe/Helsinki');
> $a = mktime(14, 0, 0, 12, 20, 2005);
> echo date('d/m/Y', $a);
> ?>
> -------------------------------
> ...produces this STDERR...
> -------------------------------
<snip>
> What is the meaning of this message?
> How can I silence it without commenting the commented line?
[Back to original message]
|