Searched refs:pad_str (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/mbstring/tests/ |
H A D | mb_str_pad.phpt | 82 $pad_str = mb_convert_encoding('▶▶', $encoding, 'UTF-8'); 83 …var_dump(mb_convert_encoding(mb_str_pad($test, 44, $pad_str, STR_PAD_RIGHT, $encoding), 'UTF-8', $… 84 …var_dump(mb_convert_encoding(mb_str_pad($test, 44, $pad_str, STR_PAD_LEFT, $encoding), 'UTF-8', $e… 85 …var_dump(mb_convert_encoding(mb_str_pad($test, 44, $pad_str, STR_PAD_BOTH, $encoding), 'UTF-8', $e…
|
/php-src/ext/standard/ |
H A D | string.c | 5742 char *pad_str = " "; /* Pointer to padding string */ local 5752 Z_PARAM_STRING(pad_str, pad_str_len) 5796 ZSTR_VAL(result)[ZSTR_LEN(result)++] = pad_str[i % pad_str_len]; 5804 ZSTR_VAL(result)[ZSTR_LEN(result)++] = pad_str[i % pad_str_len];
|
Completed in 19 milliseconds