mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
87fac43ac0
- html_translation_table and setlocale tests are no longer relevant - there are a number of ANSI-encoded files. Is this deliberate?
32 lines
512 B
PHP
Executable File
32 lines
512 B
PHP
Executable File
--TEST--
|
|
Bug #38524 (strptime() does not initialize the internal date storage structure)
|
|
--SKIPIF--
|
|
<?php if (!function_exists('strptime')) echo "SKIP"; ?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(strptime('2006-08-20', '%Y-%m-%d'));
|
|
?>
|
|
===DONE===
|
|
--EXPECTF--
|
|
array(9) {
|
|
[u"tm_sec"]=>
|
|
int(0)
|
|
[u"tm_min"]=>
|
|
int(0)
|
|
[u"tm_hour"]=>
|
|
int(0)
|
|
[u"tm_mday"]=>
|
|
int(20)
|
|
[u"tm_mon"]=>
|
|
int(7)
|
|
[u"tm_year"]=>
|
|
int(106)
|
|
[u"tm_wday"]=>
|
|
int(0)
|
|
[u"tm_yday"]=>
|
|
int(231)
|
|
[u"unparsed"]=>
|
|
unicode(0) ""
|
|
}
|
|
===DONE===
|