string to array conversion, in contrast to implode where array is fused to a string, see implode

<?php
//array_explode.php
$str = "This is php5.0 in apache window server";
echo "Original String : ".$str."<br>";
$array = explode(' ',$str);
?>
<html>
<title> array_expolde</title>
<body bgcolor="#E7F2F5" text="#000080">
This is an exaple of converting a string to an array
<br> Now itereate the array<br/>
<?php

$p=0;
foreach($array as $cut)
{
echo "$p = $cut &nbsp ";
$p++;
}
?>
</body>
</html>