php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36271 preg_split() should recomend faster alternatives
Submitted: 2006-02-03 03:00 UTC Modified: 2006-02-07 18:07 UTC
From: david at tulloh dot id dot au Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2006-02-03 03:00 UTC] david at tulloh dot id dot au
Description:
------------
preg_split() should recomend explode() and str_split() for faster simple non-regex spliting.

This follows the example of similar functions:
preg_match() recomends strpos() & substr() for simple cases
split() recomends preg_split() and explode()


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-07 18:07 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=7177e13973118ef9234241f801a428a3127dee85
Log: fix #36271: add a tip about faster/simpler alternative functions
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 22:01:31 2025 UTC