<?php
$arr 
= array(

    
"path" => " /var/www/admin/",
    
"url"=> "http://www.domain.be/",
    
"webmaster" => "someEmail@address.be",
    
"lang" => "en-uk"

);

echo 
"<p>Serialized array:<br />";
echo 
serialize($arr);
echo 
"</p>";

$xml "xml/options/configure.xml";
$xslt "xml/options/optionsToArray.xsl";

$xsltprocessor xslt_create();
$result xslt_process($xsltprocessor,$xml,$xslt);
xslt_free($xsltprocessor);

echo 
"<p>result from XSLT transformation:<br />";
echo 
$result;
echo 
"</p>";
echo 
"<p>Printed array:<br />";
print_r(unserialize($result));
echo 
"</p>";
?>