|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53411 Deprecation replacement??
Submitted: 2010-11-26 03:30 UTC Modified: 2010-11-26 10:31 UTC
From: e at arix dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.3.1RC1 OS:
Private report: No CVE-ID: None
 [2010-11-26 03:30 UTC] e at arix dot com
From manual page:

the page states the function has been deprecated but doesn't state what replaces 
it!  it should say that


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-26 10:31 UTC]
-Status: Open +Status: Bogus
 [2010-11-26 10:31 UTC]
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().
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 03:01:39 2021 UTC