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

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

Completed in 14 milliseconds