addAlert("Hello"); return $objResponse; } $xajax = new xajax(); //$xajax->debugOn(); $xajax->registerFunction("showOutput"); $xajax->processRequests(); ?> PHP Whitespace Test | xajax Tests printJavascript("../") ?>

xajax Tests

PHP Whitespace Test

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).