Re: "Warning: Invalid CRT parameters detected" warnings on windows
| From: | Eyal Teutsch | Date: | Wed, 08 Dec 2010 11:13:37 +0000 |
| Subject: | Re: "Warning: Invalid CRT parameters detected" warnings on windows | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65701@lists.php.net to get a copy of this message | ||
Didn't actually mean that they should be changed in PHP source itself, but whether the patterns that are tested should be changed, as all of these tests seem to fail.
On 12/08/2010 01:01 PM, Derick Rethans wrote:
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