#41501 [Asn->Csd]: crash on date test 009.phpt
| From: | stas@php.net | Date: | Sat, 25 Aug 2007 00:27:01 +0000 |
| Subject: | #41501 [Asn->Csd]: crash on date test 009.phpt | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116646@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: Assigned
+Status: Closed
Bug Type: Date/time related
Operating System: Windows XP
PHP Version: 5.2.3RC1
Assigned To: stas
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
I think the crash is gone, so closing it. Some formats are still not
supported, but there's little we can do if MS library doesn't support
it.
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