mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Extended the test for bug #65184
This commit is contained in:
parent
00293fec05
commit
332e46b3aa
@ -9,14 +9,18 @@ if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
|
||||
--FILE--
|
||||
<?php
|
||||
setlocale(LC_ALL, 'Japanese_Japan.932');
|
||||
$s = strftime('%A');
|
||||
/* timestamp has to be some wednesday */
|
||||
$s = strftime('%A', 1372884126);
|
||||
|
||||
for ($i = 0; $i < strlen($s); $i++) {
|
||||
printf("%x ", ord($s[$i]));
|
||||
}
|
||||
echo "\n";
|
||||
|
||||
echo strlen(strftime('%A')), "\n";
|
||||
?>
|
||||
===DONE===
|
||||
--EXPECT--
|
||||
90 85 97 6a 93 fa
|
||||
6
|
||||
===DONE===
|
||||
|
Loading…
Reference in New Issue
Block a user