Print the value of an array to the output in PHP
Description
The following code shows how to print the value of an array to the output.
Example
// w w w .j ava 2 s . c om
<?php
$age=array("XML"=>"35");
print "XML is " . $age['XML'] . " years old.";
?>
The code above generates the following result.