For some reason this program keeps crashing with zend_mm_heap error also getting zend_hash_destroy() error. Any ideas? I can not find much on the net about this, have asked on irc and they have no idea either. I did read other threads about this and have tried those work arounds, but nothing works for me.
    <?
include('../simple_html_dom.php');
getAlluc();
function getAlluc(){
    $url = 'http://www.alluc.org/';
    $movieLinks = array();
    $tvLinks = array();
    $animeLinks = array();
    $cartoonLinks = array();
    $documentaryLinks = array();
$musicClipLinks = array();
$sportLinks = array();
$html = setPage($url."/movies.html");
foreach($html->find('a[class$=linklist_header]') as $movies){
    $ml = str_replace("&","&",$movies->href);
    echo $ml."\n";
    array_push($movieLinks,$url.$ml);
}
//get actual movie links below
foreach($movieLinks as $letter){
    echo $letter."\n";
    $html = setPage($letter);
    foreach($html->find('li.linklist2') as $li){
            foreach($li->find('a[href]') as $href){
                echo $href->href."\n".$href->plaintext."\n";
            }
        }
    }
}
function setPage($url){
    $html = new simple_html_dom();
    $html->load_file($url);
    return $html;
}
?>
