str_splitWe can split a string with fixed intervals ( without using any delimiter ) by using PHP str_split command. The output we will get an array with broken string of fixed length. This breaking of string is different than explode as no delimiter is used to split the string. Here is the syntax.
str_split(string, integer of length )Let us try one example
$string="Welcome to Plus2net Php section";
The output is here