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

/PHP_5_4/ext/standard/
H A Dstring.c5273 /* {{{ proto string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])
5280 long pad_length; /* Length to pad to */ local
5291 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", &input, &input_len, &pad_length,
5298 if (pad_length <= 0 || (pad_length - input_len) <= 0) {
5312 num_pad_chars = pad_length - input_len;

Completed in 14 milliseconds