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

/PHP_5_6/ext/standard/
H A Dstring.c5229 /* {{{ proto string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])
5236 long pad_length; /* Length to pad to */ local
5247 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", &input, &input_len, &pad_length,
5254 if (pad_length <= 0 || (pad_length - input_len) <= 0) {
5268 num_pad_chars = pad_length - input_len;

Completed in 12 milliseconds