Here is my code:
$string = << hello there<
Ran into this issue...
Xpath can be a little slow, so you can achieve the same effect with a simple for loop.
for ($i = 0; $i < count($xml->testing->lol); $i++) { print_r($xml->testing->lol[$i]); }