Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101626 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7149 invoked from network); 19 Jan 2018 18:12:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2018 18:12:03 -0000 Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.128.177 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.128.177 mail-wr0-f177.google.com Received: from [209.85.128.177] ([209.85.128.177:39701] helo=mail-wr0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/AD-12394-1F4326A5 for ; Fri, 19 Jan 2018 13:12:01 -0500 Received: by mail-wr0-f177.google.com with SMTP id z48so2350662wrz.6 for ; Fri, 19 Jan 2018 10:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:from:date:message-id:subject:to; bh=O+pXfJmiZmgu49zmesK32KkYV6HAGn+hLiR07LjwSgo=; b=TONYrTBlvkdZjtf69WSGQoqEJVKqcms4CG0hhO7Owcp8k65y7jBFWiofhL+JqGt3UE Zbvt4vCDW5ziZTPd6qekr9Qoeqvm/swHcAZPuoIrJzQBs3ZqPozPOMrOHFotr53xInpV o4kv72SlL/NZuJ4EtrYqL1eGQp+MbqMKwh+9Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=O+pXfJmiZmgu49zmesK32KkYV6HAGn+hLiR07LjwSgo=; b=XBlPrfySIPO5KuaYIarOHOF75/jc9AfgsT84s6QXD30hnvOWpDXhVnZZIXA7hlILH2 GjPe70ODWfmTTLXNIHrelRV62kxeJP7+0Vf93ycglV9BKHyyNbW3j6kwY65+HNuAfp4s KS/8D9Q3mRqJIKuAEOe8OGakgwYhnVaC5RY/SpEKDS7l5eWuO+YUKlRSfdXlFytwYIMu N37oWw9/DCjuzgYky8UwzpUjDIX0RpcSE88/fwH1lpiOVk5ickam8G+VQY8mCGkVLgJm h2W/LDyLeJ+RVeQdZqCEodQhxB6ktXcs8UfEPOyxmyW/hE52lpX+0tWDXs6I6PmWCjIL FmKw== X-Gm-Message-State: AKwxytd7mjVPYvEcrkI6MHiGL6nkYE5V+1LGT2dcdxeTEm1KJzLkrPIX 7wleso57C4hfw9ykO5jhGFqnWdXr/fPAYTBGicMqG51o X-Google-Smtp-Source: ACJfBotDDjSo8aTSahBNdnnM9orWOIxnBzoLd+g1qKtSBD5/UeEwtdjlTCpWdNrkr0z8RxiZVNIXkYrxqYuWOoykd3s= X-Received: by 10.223.151.68 with SMTP id r62mr1912956wrb.24.1516385517685; Fri, 19 Jan 2018 10:11:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.138.230 with HTTP; Fri, 19 Jan 2018 10:11:56 -0800 (PST) Date: Fri, 19 Jan 2018 20:11:56 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: ICU and the INTL_IDNA_VARIANT_2003 deprecation From: narf@devilix.net (Andrey Andreev) Hello, It seems that an important detail was missed in the RFC to deprecate INTL_IDNA_VARIANT_2003 in PHP 7.2.0 (and later remove it). The only other option available - INTL_IDNA_VARIANT_UTS46 - may not be available at all, as PHP has ICU 4.0 as its minimum requirement, but support for UTS#46 was introduced by ICU 4.6 ... As a result, there may be systems where having a clean call to idn_to_ascii(), idn_to_utf() is impossible. I'm all for following deprecations by upstream, but I didn't find any mention of this scenario in the discussions. I'm assuming nobody has considered it and we're in a bit of a mess right now, so ... My immediate thought is to simply bump the ICU version requirement, but I have no idea what kind of an impact that would have. [1] RFC: https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003 [2] ICU 4.6 release: http://site.icu-project.org/download/46 Cheers, Andrey.