php获取百度的热词数据-PHP源码
获取百度的热词
/** * 获取百度的热词 * @user 小杰 * @from https://www.php1.cn/ * @return array 返回百度的热词数据(数组返回) */ function getBaiduHotKeyWord() { $templateRss = file_get_contents('http://top.baidu.com/rss_xml.php?p=top10'); If (preg_match('/
/** * 获取百度的热词 * @user 小杰 * @from https://www.php1.cn/ * @return array 返回百度的热词数据(数组返回) */ function getBaiduHotKeyWord() { $templateRss = file_get_contents('http://top.baidu.com/rss_xml.php?p=top10'); If (preg_match('/
PHP之友评论