How to Convert String to Array Using PHP?

How can you convert any string value into array via php. Today you will be told through this tutorial.

String to array conversion in php, Convert a string into array PHP, convert string to array php, PHP convert string to array

Through the expload function you can change the string value into an array. It is a php function. Let us now try to find out what is the explode function.

<?php
$string="My name is Experts PHP.";
$array= explode(" ",$string);
print_r($array);
?>

explode() function :- Explode function is used to convert string to array. Another language can say that the explode () function helps to convert string into an array.