#41501 [Opn]: crash on date test 009.phpt
| From: | stas@php.net | Date: | Fri, 25 May 2007 19:41:58 +0000 |
| Subject: | #41501 [Opn]: crash on date test 009.phpt | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113032@lists.php.net to get a copy of this message | ||
ID: 41501
Updated by: stas@php.net
Reported By: stas at zend dot com
Status: Open
Bug Type: Date/time related
Operating System: Windows XP
PHP Version: 5.2.3RC1
New Comment:
Looks like it happens because Windows strftime doesn't understand many
of the formats Unix one does _and_ on MSVC8 it is configured by default
to throw an error (leading to DrWatson dialog) when invalid parameters
are used.
Previous Comments:
------------------------------------------------------------------------
[2007-05-25 18:02:20] stas at zend dot com
Description:
------------
php build 5.2.3rc1 crashes on date/tests/009.phpt on Windows.
The line leading to the crash seems to be this one:
var_dump(strftime("%a %A %b %B %c %C %d %D %e %g %G %h %H %I %j %m %M
%n %p %r %R %S %t %T %u %U %V %W %w %x %X %y %Y %Z %z %%", $t));
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41501&edit=1