bug60723.phpt 479 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 = dirname(__FILE__);
  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. Notice: Undefined variable: aa in %sbug60723.php on line %d
  18. [%s ASIA/Chongqing] PHP Notice: Undefined variable: aa in %sbug60723.php on line %d
  19. [%s ASIA/Chongqing] dummy