Re: [RFC DISCUSSION] var_info

From: Date: Tue, 28 Jun 2016 16:45:51 +0000
Subject: Re: [RFC DISCUSSION] var_info
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-94305@lists.php.net to get a copy of this message
On 6/28/2016 12:44 AM, Dan Ackroyd wrote: > The RFC doesn't seem to state any reason why this should be in core, > rather than in a userland library. > I will extend the RFC on the weekend with the missing information, thanks for the heads up. On 6/28/2016 4:21 AM, Jesse Schalken wrote: > I think IEEE 754 only specifies that -0.0 and +0.0 be considered equal for > the purpose of numeric equality. That doesn't necessarily mean converting > to a string in some manner should produce the same result. It is already > the case that (string)(float)-0.0 === "-0" and this is how I check for -0.0 > in PHP. > Exactly, the question is whether this function should report it or not. -- Richard "Fleshgrinder" Fussenegger

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#94305) next »