note 57446 deleted from reference.pcre.pattern.syntax by nlopess

From: Date: Tue, 04 Oct 2005 18:11:44 +0000
Subject: note 57446 deleted from reference.pcre.pattern.syntax by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-96374@lists.php.net to get a copy of this message
Note Submitter: wazaawazaa600 at msn dot com Reason: useless ---- It is important to know when use the preg, reg or other functions. Because these functions have more or less "power" and data time process For example, if you want that a text with spaces generaters an array of words, you have many options, you can do an explode, and split or an preg_split. explode is in string functions group. split is in posix group functions. preg_split is in PCRE group functions The first function in this list is the less powerful, but the fastest function, and the last is the more powerful and slower function, at the same time. In this case with the 3 functions you can do exactly the same!!! So this will be god to use the first one... And you know, a few miliseconds for every time a process runs in the day is a lot of time! ;D

« previous php.notes (#96374) next »