Linden Lab Official talk:Reg API Examples
We had discovered an issue with the example code with line 121 on llsd.php.
if (!$dom = domxml_open_mem($str, DOMXML_LOAD_PARSING, $error))
Apparently php5 does not support this function (domxml_open_mem), but a workaround can be found here [1] which enables php5 to use domxml.
—The preceding unsigned comment was added on 10:01, 6 August 2008 by Chinny Iwish