hi,
can anyone tell me the difference clearly between split() and explode() functions in php?
thanks
whta is the difference between explode() and split()
Moderator: General Moderators
Re: whta is the difference between explode() and split()
Split() splits string into array by regular expression.
It is faster to use explode(), which does not take the overhead of regular expression.
It depends upon your requirement to use these functions.
For more details. Go through it:
http://www.php.net/manual/en/function.split.php

It is faster to use explode(), which does not take the overhead of regular expression.
It depends upon your requirement to use these functions.
For more details. Go through it:
http://www.php.net/manual/en/function.split.php
Re: whta is the difference between explode() and split()
Both the functions are used to Split a string. However, Split is used to
split a string using a regular expression. On the other hand, Explode is used to
split a string using another string.
split a string using a regular expression. On the other hand, Explode is used to
split a string using another string.