Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.0a3

Request #16769 Replacements for deprecated POSIX functions
Submitted: 2009-11-06 20:25 UTC
From: tonymarston Assigned:
Status: Bogus Package: PHP_Compat (version 1.6.0a2)
PHP Version: 5.3.0 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2009-11-06 20:25 UTC] tonymarston (Tony Marston)
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"

Comments

 [2009-11-09 20:45 UTC] tonymarston (Tony Marston)
-Summary: Relacements for deprecated POSIX functions +Summary: Replacements for deprecated POSIX functions
 [2010-08-01 20:12 UTC] hm2k (James Wade)
-Status: Open +Status: Feedback
Can you provide any test script?
 [2011-09-06 22:23 UTC] hm2k (James Wade)
-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.