script('example', 'p')->length == $testResult) print "Test '$testName' PASSED :)"; else { print "Test '$testName' FAILED !!! "; print "
";
	var_dump($doc->whois());
	print "
\n"; } print "\n"; $testName = 'Scripts/gmail_login'; $testResult = 1; $url = 'http://code.google.com/p/phpquery/w/edit/MultiDocumentSupport'; //phpQuery::ajaxAllowURL($url); $editor = phpQuery::newDocument('
') ->script('google_login') ->location($url); if ($editor->find('textarea#content')->length == $testResult) print "Test '$testName' PASSED :)"; else { print "Test '$testName' FAILED !!! "; print "
";
	var_dump($doc->whois());
	print "
\n"; } print "\n"; ?>