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

/PHP_TRUNK/ext/standard/
H A Darray.c2443 /* {{{ proto array array_slice(array input, int offset [, int length [, bool preserve_keys]])
2452 zend_bool preserve_keys = 0; /* Whether to preserve keys while copying to the new array or not */ local
2459 if (zend_parse_parameters(ZEND_NUM_ARGS(), "al|zb", &input, &offset, &z_length, &preserve_keys) == FAILURE) {
2468 Z_PARAM_BOOL(preserve_keys)
2507 if (!preserve_keys && (Z_ARRVAL_P(input)->u.flags & HASH_FLAG_PACKED)) {
2535 if (preserve_keys) {
3116 zend_bool preserve_keys = 0; /* whether to preserve keys */ local
3118 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|b", &input, &preserve_keys) == FAILURE) {
3129 if (preserve_keys) {
5030 /* {{{ proto array array_chunk(array input, int size [, bool preserve_keys])
5038 zend_bool preserve_keys = 0; local
[all...]
H A Dbasic_functions.c391 ZEND_ARG_INFO(0, preserve_keys)
436 ZEND_ARG_INFO(0, preserve_keys)
595 ZEND_ARG_INFO(0, preserve_keys)

Completed in 20 milliseconds