mirror of
https://github.com/php/php-src.git
synced 2026-03-25 16:52:18 +01:00
- skip on win, strftime uses system TZ
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
--TEST--
|
||||
Bug #32555 (strtotime("tomorrow") can return false)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (substr(PHP_OS, 0, 3) == 'WIN') die('skip strftime uses system TZ');
|
||||
?>
|
||||
--INI--
|
||||
date.timezone=US/Eastern
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
$stamp = 1112427000;
|
||||
print strftime('%c %Z',strtotime('now',$stamp)) ."\n";
|
||||
print strftime('%c %Z',strtotime('tomorrow',$stamp)) ."\n";
|
||||
|
||||
Reference in New Issue
Block a user