[RFC DISCUSSION] var_info
| From: | Fleshgrinder | Date: | Sun, 26 Jun 2016 17:19:07 +0000 |
| Subject: | [RFC DISCUSSION] var_info | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-94262@lists.php.net to get a copy of this message | ||
I would like to start the discussion on the already announced var_info()
function. Especially the following open issues should be addressed
before going into voting:
1. Whether to output "negative zero float" for -0.0 or keep "zero
float". This functionality was requested on Reddit but IEEE 754 actually
says that one should ignore the difference. Detecting the negative zero
would also require the signbit functionality from C99 (or weird hacking).
2. Whether to output "invalid object" instead of "object of class
__PHP_Incomplete_Class" to make it more clear cut that this object is wonky.
https://wiki.php.net/rfc/var_info
--
Richard "Fleshgrinder" Fussenegger
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc