3v4l.org

run code in 200+ PHP versions simultaneously
<?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'];