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

/PHP_5_5/ext/standard/
H A Dstring.c5217 /* {{{ proto string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])
5224 long pad_length; /* Length to pad to */ local
5235 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", &input, &input_len, &pad_length,
5242 if (pad_length <= 0 || (pad_length - input_len) <= 0) {
5256 num_pad_chars = pad_length - input_len;

Completed in 13 milliseconds