--TEST-- GH-16808 (Segmentation fault in RecursiveIteratorIterator->current() with a xml element input) --EXTENSIONS-- simplexml --FILE-- "); $test = new RecursiveIteratorIterator($sxe); var_dump($test->current()); ?> --EXPECT-- NULL