<?php function getParams() { yield 'param1' => 'apple'; yield 'param2' => 'banana'; } $result = iterator_to_array(getParams()); print_r($result);
You have javascript disabled. You will not be able to edit any code.