|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-12-01 12:34 UTC] kelunik@php.net
-Status: Open
+Status: Not a bug
[2017-12-01 12:34 UTC] kelunik@php.net
[2017-12-01 13:43 UTC] hanno at hboeck dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 08:00:01 2025 UTC |
Description: ------------ The variant parameter of idn_to_utf8() defaults to INTL_IDNA_VARIANT_2003. This gives a deprecation warning in PHP 7.2. Example: php7.2 -ddisplay_errors=on -r 'error_reporting(E_DEPRECATED);idn_to_utf8("x");' Deprecated: idn_to_utf8(): INTL_IDNA_VARIANT_2003 is deprecated in Command line code on line 1 If INTL_IDNA_VARIANT_2003 is considered deprecated it shouldn't be the default. Test script: --------------- error_reporting(E_DEPRECATED); idn_to_utf8("x");