diff options
| author | Xinchen Hui <laruence@php.net> | 2012-09-23 22:59:31 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2012-09-24 10:59:06 +0800 |
| commit | 923511d364ad84500bb097aca15385129ce6e336 (patch) | |
| tree | 3748b5878ef901b408fda37351e578974294dbf5 /ext | |
| parent | 2e8ab65270e7d1ebe1ef0dfe13836c29d72c7010 (diff) | |
| download | php-git-923511d364ad84500bb097aca15385129ce6e336.tar.gz | |
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Cherry pick to 5.3
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/tests/general_functions/bug60723.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/bug60723.phpt b/ext/standard/tests/general_functions/bug60723.phpt new file mode 100644 index 0000000000..cd73c8c0c9 --- /dev/null +++ b/ext/standard/tests/general_functions/bug60723.phpt @@ -0,0 +1,19 @@ +--TEST-- +Bug #55371 (get_magic_quotes_gpc() and get_magic_quotes_runtime() throw deprecated warning) +--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 |
