#41501 [Opn->Asn]: crash on date test 009.phpt
| From: | tony2001@php.net | Date: | Tue, 03 Jul 2007 07:05:15 +0000 |
| Subject: | #41501 [Opn->Asn]: crash on date test 009.phpt | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114589@lists.php.net to get a copy of this message | ||
ID: 41501
Updated by: tony2001@php.net
Reported By: stas at zend dot com
-Status: Open
+Status: Assigned
Bug Type: Date/time related
Operating System: Windows XP
PHP Version: 5.2.3RC1
-Assigned To:
+Assigned To: stas
Previous Comments:
------------------------------------------------------------------------
[2007-05-27 18:10:07] stas@php.net
I think all those that are not in MSDN docs:
http://msdn2.microsoft.com/en-us/library/fe06s4ak(VS.71).aspx
------------------------------------------------------------------------
[2007-05-27 17:52:26] iliaa@php.net
Stas can you please identify which tokens does MSVC8 does not
understand?
------------------------------------------------------------------------
[2007-05-25 19:41:57] stas@php.net
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.
------------------------------------------------------------------------
[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