addAlert("Hello"); return $objResponse; } $xajax = new xajax(); //$xajax->debugOn(); $xajax->registerFunction("showOutput"); $xajax->processRequests(); ?>
This tests what happens when there's whitespace before the <?php token in the PHP file (thus possibly causing the XML response to be invalid).