--TEST-- Traversables that throw exceptions are properly handled during argument unpack --FILE-- getMessage()); } try { test(1, 2, ...gen(), ...[3, 4]); } catch (Exception $e) { var_dump($e->getMessage()); } ?> --EXPECT-- string(11) "getIterator" string(3) "gen"