mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
20 lines
479 B
PHP
20 lines
479 B
PHP
--TEST--
|
|
Bug #60723 (error_log error time has changed to UTC ignoring default timezo)
|
|
--INI--
|
|
date.timezone=ASIA/Chongqing
|
|
log_errors=On
|
|
--FILE--
|
|
<?php
|
|
$dir = dirname(__FILE__);
|
|
$log = $dir . "/tmp.err";
|
|
ini_set("error_log", $log);
|
|
echo $aa;
|
|
error_log("dummy");
|
|
readfile($log);
|
|
unlink($log);
|
|
?>
|
|
--EXPECTF--
|
|
Notice: Undefined variable: aa in %sbug60723.php on line %d
|
|
[%s ASIA/Chongqing] PHP Notice: Undefined variable: aa in %sbug60723.php on line %d
|
|
[%s ASIA/Chongqing] dummy
|