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

/PHP_TRUNK/ext/standard/
H A Dstring.c5030 /* {{{ proto string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])
5036 zend_long pad_length; /* Length to pad to */ local
5046 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Sl|sl", &input, &pad_length, &pad_str, &pad_str_len, &pad_type_val) == FAILURE) {
5052 if (pad_length < 0 || (size_t)pad_length <= input->len) {
5066 num_pad_chars = pad_length - input->len;
H A Dbasic_functions.c2413 ZEND_ARG_INFO(0, pad_length)

Completed in 16 milliseconds