Doc #75619 [Ver->Nab]: FILTER_FLAG_EMAIL_UNICODE is unavailable

From: Date: Tue, 05 Dec 2017 13:19:50 +0000
Subject: Doc #75619 [Ver->Nab]: FILTER_FLAG_EMAIL_UNICODE is unavailable
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15267@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75619&edit=1 ID: 75619 Updated by: cmb@php.net Reported by: lionjsa at ngs dot ru Summary: FILTER_FLAG_EMAIL_UNICODE is unavailable -Status: Verified +Status: Not a bug Type: Documentation Problem Package: filter Operating System: Debian GNU/Linux 8 3.16.0-4-amd6 PHP Version: 5.6.32 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: That is documented in the changelog of the filter flags[1][2], so this is not a bug. [1] <http://www.php.net/manual/en/filter.filters.flags.php#filter.filters.flags> [2] <http://www.php.net/manual/ru/filter.filters.flags.php#filter.filters.flags> Previous Comments: ------------------------------------------------------------------------ [2017-12-04 10:40:25] requinix@php.net FILTER_FLAG_EMAIL_UNICODE was added in PHP 7.1. Missing from the EN docs so not a translation issue. ------------------------------------------------------------------------ [2017-12-04 10:09:13] lionjsa at ngs dot ru Description: ------------ according the documentation http://php.net/manual/ru/filter.filters.validate.php I can use FILTER_FLAG_EMAIL_UNICODE, but when I try to use it, I get a notice PHP Notice: Use of undefined constant FILTER_FLAG_EMAIL_UNICODE - assumed 'FILTER_FLAG_EMAIL_UNICODE' in Command line code on line 1 string(25) "FILTER_FLAG_EMAIL_UNICODE" Test script: --------------- php -r "var_dump(FILTER_FLAG_EMAIL_UNICODE);" Expected result: ---------------- int(...) Actual result: -------------- PHP Notice: Use of undefined constant FILTER_FLAG_EMAIL_UNICODE - assumed 'FILTER_FLAG_EMAIL_UNICODE' in Command line code on line 1 string(25) "FILTER_FLAG_EMAIL_UNICODE" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75619&edit=1

« previous php.doc.bugs (#15267) next »