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

/PHP_TRUNK/ext/standard/
H A Darray.c3112 /* {{{ proto array array_pad(array input, int pad_size, mixed pad_value)
3113 Returns a copy of input array padded with pad_value to size pad_size */
3117 zval *pad_value; /* Padding value obviously */ local
3126 if (zend_parse_parameters(ZEND_NUM_ARGS(), "alz", &input, &pad_size, &pad_value) == FAILURE) {
3146 if (Z_REFCOUNTED_P(pad_value)) {
3147 GC_REFCOUNT(Z_COUNTED_P(pad_value)) += num_pads;
3152 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), pad_value); local
3169 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), pad_value); local

Completed in 12 milliseconds