|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-01-12 10:03 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Package: Documentation problem
+Package: *Math Functions
-Assigned To:
+Assigned To: cmb
[2020-01-12 10:04 UTC] cmb@php.net
[2020-01-12 10:04 UTC] cmb@php.net
-Status: Verified
+Status: Closed
[2020-01-12 10:05 UTC] salathe@php.net
[2020-01-12 14:54 UTC] mumumu@php.net
[2020-02-07 06:04 UTC] phpdocbot@php.net
[2020-12-30 11:59 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 21:00:01 2025 UTC |
Description: ------------ Since PHP 7.4, the ignoring of invalid hexadecimal characters is deprecated in "hexdec". However there's no changelog about this change on the function page on php.net and such the page still says that the function ignores invalid characters (that means there's no deprecation about this functionality!). A changelog and notice/warning must be added to the manual page to indicate this deprecation. If other functions were updated in the same regard as "hexdec", these pages must be updated as well. Test script: --------------- echo hexdec('-2'); Expected result: ---------------- 2 Actual result: -------------- Deprecated: Invalid characters passed for attempted conversion, these have been ignored 2