Bug #64216 [NEW]: FILTER_VALIDATE_MAC constant unavailable
| From: | pear at laurent-laville dot org | Date: | Fri, 15 Feb 2013 12:40:55 +0000 |
| Subject: | Bug #64216 [NEW]: FILTER_VALIDATE_MAC constant unavailable | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-176646@lists.php.net to get a copy of this message | ||
From: pear at laurent-laville dot org
Operating system: Windows
PHP version: 5.5.0alpha4
Package: Filter related
Bug Type: Bug
Bug description:FILTER_VALIDATE_MAC constant unavailable
Description:
------------
While the FILTER_VALIDATE_MAC constant was implemented by this commit [1]
since
2012-12-24, PHP 5.5.0 alpha4 on windows platform does not provide it.
Almost one month after modification was applied.
See related request [2]
[1]
https://github.com/php/php-src/commit/2f334438836f37b82d739b20a4d0f875278e4766
[2] https://bugs.php.net/bug.php?id=49180
PHP 5.5.0alpha4 (cli) (built: Jan 22 2013 21:25:00)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies
Test script:
---------------
php -r "print_r(filter_list());"
Expected result:
----------------
Missing entry
Array
(
[ ] => validate_mac
)
Actual result:
--------------
Array
(
[0] => int
[1] => boolean
[2] => float
[3] => validate_regexp
[4] => validate_url
[5] => validate_email
[6] => validate_ip
[7] => string
[8] => stripped
[9] => encoded
[10] => special_chars
[11] => full_special_chars
[12] => unsafe_raw
[13] => email
[14] => url
[15] => number_int
[16] => number_float
[17] => magic_quotes
[18] => callback
)
--
Edit bug report at https://bugs.php.net/bug.php?id=64216&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64216&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64216&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64216&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64216&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64216&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64216&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64216&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64216&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64216&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64216&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64216&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64216&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64216&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64216&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64216&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64216&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64216&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64216&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64216&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64216&r=mysqlcfg