print("<br>This is <b>".($ua->isie()?"an":"no")."</b> Internet Explorer browser.\n");
print("<br>This is <b>".($ua->geckobased()?"a":"no")."</b> Gecko-based browser.\n");
print("<br>This is <b>".($ua->khtmlbased()?"a":"no")."</b> KHTML-based browser.\n");
+print("<br>This is <b>".($ua->isbot()?"an":"no")."</b> automated robot.\n");
print("<br>The browser brand is reported as "<b>".$ua->getBrand()."</b>"\n");
print("<br>The browser version is reported as "<b>".$ua->getVersion()."</b>"\n");
if ($ua->geckobased()) { print("<br>The Gecko date is reported as "<b>".$ua->geckodate()."</b>"\n"); }