Doc #53411 [Opn->Bgs]: Deprecation replacement??

From: Date: Fri, 26 Nov 2010 09:31:10 +0000
Subject: Doc #53411 [Opn->Bgs]: Deprecation replacement??
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5586@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53411&edit=1 ID: 53411 Updated by: salathe@php.net Reported by: e at arix dot com Summary: Deprecation replacement?? -Status: Open +Status: Bogus Type: Documentation Problem Package: Documentation problem PHP Version: 5.3.1RC1 Block user comment: N Private report: N New Comment: See the "Notes" section further down the page, which says: Note: As of PHP 5.3.0, the regex extension is deprecated in favor of the PCRE extension. Calling this function will issue an E_DEPRECATED notice. See the list of differences for help on converting to PCRE. Tip: preg_split(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to split(). If you don't require the power of regular expressions, it is faster to use explode(), which doesn't incur the overhead of the regular expression engine. Tip: For users looking for a way to emulate Perl's @chars = split('', $str) behaviour, please see the examples for preg_split() or str_split(). Previous Comments: ------------------------------------------------------------------------ [2010-11-26 03:30:45] e at arix dot com Description: ------------ --- From manual page: http://www.php.net/function.split#Description --- the page states the function has been deprecated but doesn't state what replaces it! it should say that ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53411&edit=1

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