PHP example - How to dump information for a PHP variable?
PHP - How to dump information for a PHP variable?
In order to do this, you may use the special php function called var_dump.
Take a look at the following example:
<?php
$myVar=array(array(array("x","y"),"z"));
echo var_dump($myVar);
?>