"Warning: Invalid CRT parameters detected" warnings on windows
| From: | Eyal Teutsch | Date: | Wed, 08 Dec 2010 08:21:04 +0000 |
| Subject: | "Warning: Invalid CRT parameters detected" warnings on windows | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65698@lists.php.net to get a copy of this message | ||
Hi,
Quite a few of the ext::date tests fail for me on windows as of unexpected "Warning: Invalid CRT parameters detected" warnings - For instance, gmstrftime_variation11
gmstrftime_variation13
gmstrftime_variation15
gmstrftime_variation17
gmstrftime_variation19
and their equivalent strftime_variation tests all fail.
Reading:
http://bugs.php.net/bug.php?id=49498
http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx
seems to point that they all use formatting codes which are not supported on windows (for instance, gmstrftime_variation11 uses '%h').
So should the formatting patterns change, or am I the only one with such failures?
These failures occur to me on any kind of windows configuration:
IIS/Apache
windows2008/windows xp
php 5.3.3/5.2.14 using zend server or the php 5.3.3 ts version downloaded from php.net
thx,
Eyal