
03-20-2012, 02:23 AM
|
 |
|
|
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by squidsk
The better solution would be to replace the function call to split with a call to preg_split, as per the php documentation for the split command.
|
Actually, explode is the better call. As per the TIP for split:
Quote:
preg_split(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to split(). If you don't require the power of regular expressions, it is faster to use explode(), which doesn't incur the overhead of the regular expression engine.
|
|