PHP simple html dom: apache crashes
===

I'm using **Simple HTML Dom**. I'm trying to run the following: (with WAMP)

    $doc = file_get_html('http://www.scoop.it/t/curate-your-personal-learning-environment?page=3');
    $comments = array();
    $CommentList = $doc->find('#commentList div[class=commentContainer]');
    if (count($CommentList) > 0)
    	var_dump($CommentList);
    foreach ($CommentList as $comment)
    {
    	$text = $comment->find('span[class^=author]');
    	$comments[] = $this::ctrim($text[0]->innertext);
    }

If I comment out the foreach loop, it runs fine.
Otherwise, the apache crashes.

One important note: If I comment out the inside of the foreach loop, it still crashes.
I added the var dump to make sure that the array has valid items.