This is an old revision of the document!
Display an array with a for loop :
$array = array();
foreach ($array as $key => $value) {
echo $key." => ".$value."<br>";
}
Alternately you can display an array on one line using the method :
$array = array();
print_r($array);