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

From: Date: Fri, 20 Sep 2013 14:12:42 +0000
Subject: Doc #65726 [Com]: PCRE_CASELESS recommended as replacement for deprecated function.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10283@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65726&edit=1 ID: 65726 Comment by: gabri dot ns at gmail dot com Reported by: briantw at briantw dot com Summary: PCRE_CASELESS recommended as replacement for deprecated function. Status: Open Type: Documentation Problem Package: *General Issues PHP Version: 5.5.4 Block user comment: N Private report: N New Comment: > However, elsewhere in the documentation, the PCRE_CASELESS is also > described as deprecated. where did you read this? from http://www.php.net/reference.pcre.pattern.modifiers the only deprecated modifier is PREG_REPLACE_EVAL, for security reason. Previous Comments: ------------------------------------------------------------------------ [2013-09-20 13:44:28] briantw at briantw dot com 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 this bug report at https://bugs.php.net/bug.php?id=65726&edit=1

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