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

/PHP_TRUNK/ext/standard/
H A Dstring.c5032 /* {{{ proto string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])
5038 zend_long pad_length; /* Length to pad to */ local
5048 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Sl|sl", &input, &pad_length, &pad_str, &pad_str_len, &pad_type_val) == FAILURE) {
5054 if (pad_length < 0 || (size_t)pad_length <= input->len) {
5068 num_pad_chars = pad_length - input->len;

Completed in 12 milliseconds