mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
MFH Specific test for bug #48276
This commit is contained in:
parent
25715c7660
commit
c63b6f5d8a
9
ext/date/tests/bug48276.phpt
Normal file
9
ext/date/tests/bug48276.phpt
Normal file
@ -0,0 +1,9 @@
|
||||
--TEST--
|
||||
Bug #48276 (date("Y") prints wrong year on Big Endian machines)
|
||||
--INI--
|
||||
date.timezone=UTC
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(date("Y", 1245623227));
|
||||
--EXPECT--
|
||||
string(4) "2009"
|
Loading…
Reference in New Issue
Block a user