- var_dump: documentation ( source)
<?php
$upload = array(array(
'errors' => array(),
'filename' => '/some/path/to/a/file.jpg'),
array(
'errors' => array(),
'filename' => '/yet/another/path.jpg'));
var_dump($upload);
foreach ($upload as $x) echo $x['filename'],"<br>";
echo $upload[0]['filename'];