|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-12-02 10:35 UTC] vrana@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 11:00:01 2025 UTC |
Description: ------------ The manual page for split() currently points to preg_split() as a way to emulate @chars = split('', $str) in Perl. In PHP 5 we have str_split(), which is significantly faster and far more intuitive than preg_split() for this usage. It would also make sense to mention this on the preg_split() page.