Re: [PHP-DEV] INF behavior

2011-05-26 Thread Scott MacVicar
On 26 May 2011, at 20:03, Philip Olson wrote: > Hello geeks, > > A geek is needed to clarify PHP bug #45712. This is an edge case but the test > (bug45712.phpt) contains code similar to the following: > > $inf = pow(0, -2); > > var_dump($inf); // float(INF) > var_dump($inf == $inf)

[PHP-DEV] INF behavior

2011-05-26 Thread Philip Olson
Hello geeks, A geek is needed to clarify PHP bug #45712. This is an edge case but the test (bug45712.phpt) contains code similar to the following: That's how it's behaved since ~forever (AFAICT) and remains in 5.3.7-dev, but PHP 5.4.0-dev changes behavior so both now return true. Is this is