Doc #65726 [NEW]: PCRE_CASELESS recommended as replacement for deprecated function.

From: Date: Fri, 20 Sep 2013 13:44:28 +0000
Subject: Doc #65726 [NEW]: PCRE_CASELESS recommended as replacement for deprecated function.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10281@lists.php.net to get a copy of this message
From: briantw at briantw dot com Operating system: PHP version: 5.5.4 Package: *General Issues Bug Type: Documentation Problem Bug description:PCRE_CASELESS recommended as replacement for deprecated function. Description: ------------ --- From manual page: http://www.php.net/function.eregi#refsect1-function.eregi-notes --- Page says eregi() is deprecated and to use preg_match() with PCRE_CASELESS modifier. However, elsewhere in the documentation, the PCRE_CASELESS is also described as deprecated. So, I still don't know what I should use to replace eregi(). -- Edit bug report at https://bugs.php.net/bug.php?id=65726&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65726&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65726&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65726&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65726&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65726&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65726&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65726&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65726&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65726&r=support Expected behavior: https://bugs.php.net/fix.php?id=65726&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65726&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65726&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65726&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65726&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65726&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65726&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65726&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65726&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65726&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65726&r=mysqlcfg

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