开发者

PHP Simple HTML Dom & Memory

开发者 https://www.devze.com 2023-02-05 21:53 出处:网络
PHP Simple HTML Dom problem Hi I have about 40 urls which I looping through within the loop I have the following

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 n开发者_如何学Cothing happens.

Any help much appreciated,

0

精彩评论

暂无评论...
验证码 换一张
取 消