note 96207 added to function.explode
| From: | chrisjohnson00 at hotmail dot com | Date: | Mon, 15 Feb 2010 09:38:22 +0000 |
| Subject: | note 96207 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165958@lists.php.net to get a copy of this message | ||
I performed some tests comparing split(), preg_split() and explode(). explode() is the fastest
among the three, so unless you need regex you should use explode. Don't use split(), its much
slower than is replacement preg_split(), with or without regex
http://wp.me/pN7dZ-r#extraction
----
Server IP: 69.147.83.197
Probable Submitter: 173.13.161.45
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit -- https://master.php.net/note/edit/96207
Del: integrated -- https://master.php.net/note/delete/96207/integrated
Del: useless -- https://master.php.net/note/delete/96207/useless
Del: bad code -- https://master.php.net/note/delete/96207/bad+code
Del: spam -- https://master.php.net/note/delete/96207/spam
Del: non-english -- https://master.php.net/note/delete/96207/non-english
Del: in docs -- https://master.php.net/note/delete/96207/in+docs
Del: other reasons-- https://master.php.net/note/delete/96207
Reject -- https://master.php.net/note/reject/96207
Search -- https://master.php.net/manage/user-notes.php