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

/PHP_TRUNK/ext/standard/
H A Darray.c3144 /* {{{ proto array array_pad(array input, int pad_size, mixed pad_value)
3145 Returns a copy of input array padded with pad_value to size pad_size */
3149 zval *pad_value; /* Padding value obviously */ local
3158 if (zend_parse_parameters(ZEND_NUM_ARGS(), "alz", &input, &pad_size, &pad_value) == FAILURE) {
3178 if (Z_REFCOUNTED_P(pad_value)) {
3179 GC_REFCOUNT(Z_COUNTED_P(pad_value)) += num_pads;
3184 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), pad_value); local
3201 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), pad_value); local

Completed in 12 milliseconds