-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug #60723 (error_log error time has changed to UTC ignoring de…
…fault timezo) Cherry pick to 5.3
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters