Cita:
Iniciado por abimaelrc
@bigwhite, estoy de acuerdo que muchos han indicado que mientras se pueda evitar el uso de expresiones regulares mucho mejor para que haya mejor rendimiento. Pero no he visto en el manual que diga eso. Si es posible me podrias indicar donde dice eso en el manual.
Por todos lados! ejemplo ->
http://www.php.net/split Cita: 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.
Claramente dice "
If you don't require the power of regular expressions, it is faster to use ...., which
doesn't incur the overhead of the regular expression engine"