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

/PHP_TRUNK/ext/standard/
H A Darray.c2446 /* {{{ proto array array_slice(array input, int offset [, int length [, bool preserve_keys]])
2455 zend_bool preserve_keys = 0; /* Whether to preserve keys while copying to the new array or not */ local
2462 if (zend_parse_parameters(ZEND_NUM_ARGS(), "al|zb", &input, &offset, &z_length, &preserve_keys) == FAILURE) {
2471 Z_PARAM_BOOL(preserve_keys)
2510 if (!preserve_keys && (Z_ARRVAL_P(input)->u.flags & HASH_FLAG_PACKED)) {
2538 if (preserve_keys) {
3118 zend_bool preserve_keys = 0; /* whether to preserve keys */ local
3120 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|b", &input, &preserve_keys) == FAILURE) {
3131 if (preserve_keys) {
5025 /* {{{ proto array array_chunk(array input, int size [, bool preserve_keys])
5033 zend_bool preserve_keys = 0; local
[all...]

Completed in 12 milliseconds