Edit report at http://pear.php.net/bugs/bug.php?id=16769&edit=1
ID: 16769
Updated by: [email protected]
Reported By: tony at marston-home dot demon dot co dot uk
Summary: Replacements for deprecated POSIX functions
-Status: Feedback
+Status: Bogus
Type: Feature/Change Request
Package: PHP_Compat
Operating System: Windows XP
Package Version: 1.6.0a2
PHP Version: 5.3.0
-Roadmap Versions: 1.6.0a3
+Roadmap Versions:
New Comment:
-Status: Feedback
+Status: Bogus
-Roadmap Versions: 1.6.0a3
+Roadmap Versions:
Examples of "POSIX functions" were not provided.
A test script of "POSIX functions" was not provided.
No "POSIX functions" have been removed from PHP yet.
Bogus.
Previous Comments:
------------------------------------------------------------------------
[2010-08-01 16:12:18] hm2k
-Status: Open
+Status: Feedback
Can you provide any test script?
------------------------------------------------------------------------
[2009-11-09 15:45:57] tonymarston
-Summary: Relacements for deprecated POSIX functions
+Summary: Replacements for deprecated POSIX functions
------------------------------------------------------------------------
[2009-11-06 15:25:14] tonymarston
Description:
------------
The POSIX regular expression functions have been marked as deprecated in
5.3.0 and are scheduled to be removed completely in PHP 6. Developers
are being told to switch to the PCRE functions instead. It would be of
great benefit to HUGE numbers of users if the POSIX functions, instead
of being dropped completely, were simply rewritten as wrappers for the
equivalent PCRE functions. This would solve two issues:
(1) There would only be one regex engine to support, not two.
(2) Existing scripts which use the POSIX functions would not need to be
rewriiten.
Expected result:
----------------
The POSIX functions would still work instead of failing with "function
not found"
------------------------------------------------------------------------