bug60723.phpt 447 B

12345678910111213141516171819
  1. --TEST--
  2. Bug #60723 (error_log error time has changed to UTC ignoring default timezo)
  3. --INI--
  4. date.timezone=ASIA/Chongqing
  5. log_errors=On
  6. --FILE--
  7. <?php
  8. $dir = __DIR__;
  9. $log = $dir . "/tmp.err";
  10. ini_set("error_log", $log);
  11. echo $aa;
  12. error_log("dummy");
  13. readfile($log);
  14. unlink($log);
  15. ?>
  16. --EXPECTF--
  17. Warning: Undefined variable $aa in %s on line %d
  18. [%s ASIA/Chongqing] PHP Warning: Undefined variable $aa in %s on line %d
  19. [%s ASIA/Chongqing] dummy