<h3>URI to abs &amp; file path transform for options['directory'] based URIs</h3>

<?php 
foreach ($test as $tc) {
    $t = $tc['src'];
    $emsg = null;
    $r1 = '';
    $r2 = '';
    $r3 = '';
    $r4 = '';
    $r5 = '';
    try {
        $r3 = $settings['directory'] . $t;
        $r5 = $browser->normalize($r3);
        $r4 = $browser->url_path2file_path($r3);
        $r1 = $browser->rel2abs_legal_url_path($t);
        $r2 = $browser->legal_url_path2file_path($t);
    } catch (FileManagerException $e) {
        $emsg = $e->getMessage();
    }
    echo "\n<pre>ORIG:    [" . htmlentities($t, ENT_NOQUOTES, 'UTF-8') . "]\nURI.ABS: [" . htmlentities($r1, ENT_NOQUOTES, 'UTF-8') . "]\nDIR.ABS: [" . htmlentities($r2, ENT_NOQUOTES, 'UTF-8') . "]\nRAW.URI: [" . htmlentities($r3, ENT_NOQUOTES, 'UTF-8') . "]\nNORMLZD: [" . htmlentities($r5, ENT_NOQUOTES, 'UTF-8') . "]\nDIR.ABS: [" . htmlentities($r4, ENT_NOQUOTES, 'UTF-8') . "]</pre>\n";
    if ($emsg !== null) {
        echo "<p><strong>FileManagerException('{$emsg}')!</strong></p>\n";
    }
    echo "\n<hr />\n";
}
?>

<h3>FM Aliased directory scan output</h3>

<?php