Re: "Warning: Invalid CRT parameters detected" warnings on windows
| From: | Derick Rethans | Date: | Thu, 09 Dec 2010 17:26:24 +0000 |
| Subject: | Re: "Warning: Invalid CRT parameters detected" warnings on windows | ||
| References: | 1 2 3 4 5 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65708@lists.php.net to get a copy of this message | ||
On Wed, 8 Dec 2010, Eyal Teutsch wrote:
> On 12/08/2010 01:25 PM, Derick Rethans wrote:
> > On Wed, 8 Dec 2010, Eyal Teutsch wrote:
> >
> > > 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.
> >
> > They work on non-windows just fine, so please don't reduce the test
> > cases.
> >
> > Also, please no top-posting!
> >
> Please note that the above mentioned tests:
> gmstrftime_variation9
> gmstrftime_variation11
> gmstrftime_variation13
> gmstrftime_variation15
> gmstrftime_variation17
> gmstrftime_variation19
> and their equivalent strftime_variation tests, all have a SKIPIF section,
> which allows them to run on windows ONLY:
> --SKIPIF--
> <?php
> if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
> die("skip Test is valid for Windows");
> }
>
> Hence, there does not seem to be much point in leaving them as is.
Well, in that case :-) Perhaps it's different on different CRT versions?
I can't believe the IBMers would have committed those without throwing a
fuss about it.
cheers,
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug