--TEST-- crash result iterator --SKIPIF-- --FILE-- exec($sql) as $row) { var_dump($row); } ?> ===DONE=== --EXPECT-- Test array(1) { [0]=> int(1) } array(1) { [0]=> int(2) } array(1) { [0]=> int(3) } ===DONE===