PHP 简单 HTML Dom 和 PHP记忆
PHP 简单 HTML Dom 问题 您好,我有大约 40 个网址,我在循环中循环访问它们,我有以下
$html->clear();
unset($html);
$html = file_get_html($value);
7 或 8 个循环后,它似乎停止工作。我认为这是一个内存问题,但我无法判断。 有没有人遇到相同或类似的问题。 我正在使用 Zend studio 并在循环中设置了一个断点。它在前 7 或 8 个中被击中,但随后什么也没有发生。
非常感谢任何帮助,
PHP Simple HTML Dom problem
Hi I have about 40 urls which I looping through within the loop I have the following
$html->clear();
unset($html);
$html = file_get_html($value);
After 7 or 8 loops it appears to stop working. I'm thinking this is a memory issue but I can not tell.
Has anyone had the same or similar problem.
I am using Zend studio and have set a break point in the loop. it is hit for the first 7 or 8 but then nothing happens.
Any help much appreciated,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论