<html>
<head>
    <title>glob() test</title>
</head>

<body>
<h1>glob() test</h1>
<?php
$matches = glob('/usr/share/php/symfony');
echo '<pre>';
var_dump($matches);
echo '</pre>';

/*
Apache + mod_php returns:
    array(1) {
      [0]=>
      string(22) "/usr/share/php/symfony"
    }

Quercus returns:
    array(1) {
      [0]=>
      string(21) "usr/share/php/symfony"
    }
*/
?>
</body>
