Bug #75619 [NEW]: FILTER_FLAG_EMAIL_UNICODE is unavailable
From: lionjsa at ngs dot ru
Operating system: Debian GNU/Linux 8 3.16.0-4-amd6
PHP version: 5.6.32
Package: Unknown/Other Function
Bug Type: Bug
Bug description:FILTER_FLAG_EMAIL_UNICODE is unavailable
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 bug report at https://bugs.php.net/bug.php?id=75619&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75619&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75619&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75619&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75619&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75619&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75619&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75619&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75619&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75619&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75619&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75619&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75619&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75619&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75619&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75619&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75619&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75619&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75619&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75619&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75619&r=mysqlcfg
Thread (1 message)
- lionjsa at ngs dot ru