[PHP-DEV] NaN still broken on Windows builds?

2009-05-24 Thread Stan Vassilev
Hi, Can someone please point me to a Win32 build which has a working NaN? The last few releases on php.net all share the same problems, which are leading to real-world bugs in userland code: var_dump(NAN); // float(0), should be float(NAN) $realNaN = sqrt(-1); var_dump($realNaN); //

Re: [PHP-DEV] NaN still broken on Windows builds?

2009-05-24 Thread Pierre Joye
hi, Try VC9 snapshots from http://windows.php.net please. Cheers, -- Pierre 2009/5/24 Stan Vassilev sv_for...@fmethod.com: Hi, Can someone please point me to a Win32 build which has a working NaN? The last few releases on php.net all share the same problems, which are leading to

Re: [PHP-DEV] NaN still broken on Windows builds?

2009-05-24 Thread Stan Vassilev
hi, Try VC9 snapshots from http://windows.php.net please. Cheers, -- Pierre Hi, Thanks for your pointed, though I couldn't find VC9 builds for any stable release (5.2.x) of PHP? I'll check with 5.3.x a bit later, but what is the recommendation for those of us who have to deploy PHP on

Re: [PHP-DEV] NaN still broken on Windows builds?

2009-05-24 Thread Carsten Wiedmann
Hello, var_dump(NAN); // float(0), should be float(NAN) $realNaN = sqrt(-1); var_dump($realNaN); // float(NAN) var_dump($realNaN == $realNaN); // true, should be false, NaN should never match NaN That's interesting. With my own 5.2.9 build (vc6), I have false in the last test (comparing

Re: [PHP-DEV] How to contribute for PHP Internals

2009-05-24 Thread Patrick Serru
Bonjour johannes, hi everybody, Le samedi 23 mai 2009, vous avez écrit : Bonsoir, I think the language syntax definition is more a part r the genaral documentation and too specific for a getting started with internals document. The language definition is a small part of PHP ...

Re: [PHP-DEV] Current problems with PHP5.3 testing

2009-05-24 Thread Pierre Joye
On Sat, May 23, 2009 at 8:51 AM, Lester Caine les...@lsces.co.uk wrote: php_interbase gets tested for every build using a number of test suites. Currently as far as I am aware all the previous regression bugs have now been fixed, and the numeric bug has also been cleared so our only problem

[PHP-DEV] shell_exec, environment, and multithreading servers

2009-05-24 Thread jvlad
Hi all, Recently I faced with one funny problem in PHP. Seems there is no way to run a sub-process using shell_exec() (or backticks), and pass there specially crafted environment without affecting all running threads. As soon as I update the environment, all other threads see the change. It's