<?php
$xmlFile = pathinfo('/usr/admin/config/test.xml');
function filePathParts($arg1) {
echo $arg1['dirname'], "
";
echo $arg1['basename'], "
";
echo $arg1['extension'], "
";
echo $arg1['filename'], "
";
}
filePathParts($xmlFile);
?>