append('test'); $testName = 'Array Access get'; if (trim($testHtml['.just-added']->html()) == 'test') print "Test '$testName' PASSED :)"; else { print "Test '$testName' FAILED !!! "; print "
";
	print_r($testHtml['.just-added']->whois());
	print "
\n"; } print "\n"; require_once('../phpQuery/phpQuery.php'); phpQuery::$debug = true; $testHtml = phpQuery::newDocumentFile('test.html'); $testHtml['li:first'] = 'new inner html'; $testName = 'Array Access set'; if (trim($testHtml['li:first']->html()) == 'new inner html') print "Test '$testName' PASSED :)"; else { print "Test '$testName' FAILED !!! "; print "
";
	print_r($testHtml['.just-added']->whois());
	print "
\n"; } print "\n";