--TEST-- mysql_list_dbs() --SKIPIF-- --FILE-- ') == 1) && !is_unicode($row[0])) { printf("[005] Check for unicode support\n"); var_inspect($row); } mysql_free_result($res); if (!$res2 = mysql_list_dbs()) printf("[006] [%d] %s\n", mysql_errno(), mysql_error()); $row2 = mysql_fetch_array($res2, MYSQL_NUM); mysql_free_result($res2); assert($row === $row2); mysql_close($link); print "done!\n"; ?> --CLEAN-- --EXPECTF-- Deprecated: Function mysql_list_dbs() is deprecated in %s on line 15 Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d done!