note 39954 added to function.preg-match
| From: | nothing at cube dot bpadotnu | Date: | Mon, 16 Feb 2004 23:05:43 +0000 |
| Subject: | note 39954 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65239@lists.php.net to get a copy of this message | ||
In reguards to the note on using strpos or strstr for faster searches, with my php 4.3 install,
these functions were slightly faster than preg_match, but for case insensitive (stristr v's
preg_match with /i) preg_match was a LOT faster
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39954
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39954&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39954&report=yes
Search -- http://master.php.net/manage/user-notes.php