<?php function test(array|Traversable $data) { $c = iterator_count($data); $v = iterator_to_array($data); } $data = ['test']; test($data);
You have javascript disabled. You will not be able to edit any code.