Searched defs:use_keys (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c3516 /* {{{ proto array iterator_to_array(Traversable it [, bool use_keys = true])
3521 zend_bool use_keys = 1; local
3523 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|b", &obj, zend_ce_traversable, &use_keys) == FAILURE) {
3529 if (spl_iterator_apply(obj, use_keys ? spl_iterator_to_array_apply : spl_iterator_to_values_apply, (void*)return_value TSRMLS_CC) != SUCCESS) {

Completed in 10 milliseconds