mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
- Fixed comment and double 0
This commit is contained in:
parent
794846e5c5
commit
f1141d79c6
@ -4,8 +4,8 @@ Bug #21966 (date() or mktime() returning bad value for mktime month param of '2'
|
||||
<?php
|
||||
putenv("TZ=Europe/London");
|
||||
|
||||
echo '27/3/04 = ' . strval(mktime(00,0,0,3,27,2004)) . "\n"; // 1080345600
|
||||
echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . "\n"; // -3662 - should be 108042840
|
||||
echo '27/3/04 = ' . strval(mktime(0,0,0,3,27,2004)) . "\n"; // 1080345600
|
||||
echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . "\n"; // -3662 - should be 108043200
|
||||
echo '28/3/04 = ' . strval(mktime(2,0,0,3,28,2004)) . "\n"; // 1080435600
|
||||
echo '29/3/04 = ' . strval(mktime(0,0,0,3,29,2004)) . "\n"; // 1080514800
|
||||
echo '30/3/04 = ' . strval(mktime(0,0,0,3,30,2004)) . "\n"; // 1080601200
|
||||
|
Loading…
Reference in New Issue
Block a user