PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
"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. " -php.net/split
pelegk2 wrote:k but still i dont se why split wont work and explode will!
Because split uses regex and the * character has special meaning in regex. As mentioned explode() is the function you should be using but if you wanted the same result returned from the split function it would be....