note 48663 added to function.ftp-rawlist
| From: | lcvalentine at gmail dot com | Date: | Tue, 04 Jan 2005 05:17:17 +0000 |
| Subject: | note 48663 added to function.ftp-rawlist | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82665@lists.php.net to get a copy of this message | ||
G'day gents,
After reading the posts that run up and down this particular page, I felt it would be worth
your while to let you know that "preg_match()" is about 60% faster than
"ereg()".
Some of you might be asking if it takes the same parameters. Yes with one exception: Your
RegEx will require a little tweaking, primarily in the form of /'s added to the beginning and
end of the expression.
Save your computer cycles for better things, use preg_match.
Cpl Digital
----
Manual Page -- http://www.php.net/manual/en/function.ftp-rawlist.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48663
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48663&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48663&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48663&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48663&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48663&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48663&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48663&report=yes
Search -- http://master.php.net/manage/user-notes.php