Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP预匹配结果为空_Php_Regex_Preg Match_Expression - Fatal编程技术网

PHP预匹配结果为空

PHP预匹配结果为空,php,regex,preg-match,expression,Php,Regex,Preg Match,Expression,$search ie我的主题是:- 0Array ( ) 建议查看了解如何改进搜索结果的指南询问我们的给我们发一张长椅子;用于倾斜由两个车轮和一个calash车顶组成的车厢;一匹马画的 我在网上测试了它,得到了正确的答案结果1。 可能还有我在php文件中未能执行的其他站点 $search ie我的主题是:- 建议查看了解如何改进搜索结果的指南询问我们的给我们发一张长椅子;用于倾斜由两个车轮和一个calash车顶组成的车厢;一匹马画的 不,它不是,它是divclass=',因为您调用

$search ie我的主题是:-

0Array ( )
建议
  • 查看了解如何改进搜索结果的指南
  • 询问我们的
  • 给我们发一张长椅子
  • ;用于倾斜
  • 由两个车轮和一个calash车顶组成的车厢;一匹马画的
我在网上测试了它,得到了正确的答案结果1。 可能还有我在php文件中未能执行的其他站点

$search ie我的主题是:-

建议
  • 查看了解如何改进搜索结果的指南
  • 询问我们的
  • 给我们发一张长椅子
  • ;用于倾斜
  • 由两个车轮和一个calash车顶组成的车厢;一匹马画的
不,它不是,它是
divclass=',因为您调用了
htmlentities

此外,在IMHO的帮助下,像这样解析html会更容易
0Array ( )
<div class="yui3-u-2-3"><div id=left><h2 class="ehr">Suggestions</h2><div class="post"><ul><li class="hindiresult">See the <a href="/help">help</a> to know how search results can be improved</li><li class="hindiresult">Ask in our <a href="/forums">forum</a></li><li class="hindiresult">Send us <a href="/contact">email</a></li></ul></div><h2 class="ehr">Definitions of Chaise</h2><h3>noun</h3><ol class="wnol"><li class="hindiresult">a long chair; for reclining</li><li class="hindiresult">a carriage consisting of two wheels and a calash top; drawn by a single horse</li></ol></div></div><div class="yui3-u-1-3"><div id="right"><div class="adbox"><script type="text/javascript"><!-- google_ad_client = "pub-7708924170316014";google_ad_slot="0743863500";google_ad_width=300;google_ad_height=250; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div></div></div>
<div class="yui3-u-2-3"><div id=left><h2 class="ehr">Suggestions</h2><div class="post"><ul><li class="hindiresult">See the <a href="/help">help</a> to know how search results can be improved</li><li class="hindiresult">Ask in our <a href="/forums">forum</a></li><li class="hindiresult">Send us <a href="/contact">email</a></li></ul></div><h2 class="ehr">Definitions of Chaise</h2><h3>noun</h3><ol class="wnol"><li class="hindiresult">a long chair; for reclining</li><li class="hindiresult">a carriage consisting of two wheels and a calash top; drawn by a single horse</li></ol></div></div><div class="yui3-u-1-3"><div id="right"><div class="adbox"><script type="text/javascript"><!-- google_ad_client = "pub-7708924170316014";google_ad_slot="0743863500";google_ad_width=300;google_ad_height=250; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div></div></div>