the library vresion is actually exposed by ext/mysqli, not ext/mysql
if (!stristr($phpinfo, "mysql support"))
printf("[001] ext/mysql should have exposed itself.\n");
-if (!stristr($phpinfo, "client api library version"))
- printf("[002] ext/mysql should have exposed the library version.\n");
-
if (!stristr($phpinfo, "mysql.default_host"))
printf("[003] php.ini setting mysql.default_host not shown.\n");
print "done!";
?>
--EXPECTF--
-done!
\ No newline at end of file
+done!