Re: "Warning: Invalid CRT parameters detected" warnings on windows
| From: | Derick Rethans | Date: | Wed, 08 Dec 2010 11:01:47 +0000 |
| Subject: | Re: "Warning: Invalid CRT parameters detected" warnings on windows | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65700@lists.php.net to get a copy of this message | ||
On Wed, 8 Dec 2010, Eyal Teutsch wrote:
> 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?
They're passed in straight into the system call from PHP. So they should
stay as they are. At least windows doesn't crash on it anymore...
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug