[RFC] [Vote] Base convert changes
| From: | Scott Dutton | Date: | Wed, 19 Jun 2019 07:24:22 +0000 |
| Subject: | [RFC] [Vote] Base convert changes | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-105980@lists.php.net to get a copy of this message | ||
Hi all
I have put my RFC base convert changes to vote this morning
https://wiki.php.net/rfc/base_convert_improvements
Two votes, one to raise a deprecated error in PHP7.4 (raised to exception in PHP 8) when base_convert encounters something it doesnt know how to convert.
Second vote is to allow negative numbers, eg base_convert('-FF', 16, 10) would return -255 (this returns 255 currently)
Voting ends 3rd July
Thanks
Scott