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

/PHP_TRUNK/ext/standard/
H A Dstring.c5057 /* {{{ proto string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])
5064 long pad_length; /* Length to pad to */ local
5074 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", &input, &input_len, &pad_length,
5081 if (pad_length <= 0 || (pad_length - input_len) <= 0) {
5095 num_pad_chars = pad_length - input_len;

Completed in 12 milliseconds