Searched refs:STR_PAD_RIGHT (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/mbstring/tests/ |
H A D | mb_str_pad.phpt | 10 var_dump(mb_str_pad('▶▶', 6, '', STR_PAD_RIGHT)); 40 var_dump(mb_str_pad('Hello', 7, '+-', STR_PAD_RIGHT)); 41 var_dump(mb_str_pad('World', 10, '+-', STR_PAD_RIGHT)); 62 var_dump(mb_str_pad('▶▶', 6, pad_type: STR_PAD_RIGHT)); 68 var_dump(mb_str_pad('▶▶', $i, '❤❓❇', STR_PAD_RIGHT)); 83 …var_dump(mb_convert_encoding(mb_str_pad($test, 44, $pad_str, STR_PAD_RIGHT, $encoding), 'UTF-8', $… 93 ValueError: mb_str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_B…
|
/php-src/ext/standard/tests/strings/ |
H A D | str_pad.phpt | 16 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_RIGHT) ); 47 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_RIGHT) ); 59 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_RIGHT) ); 306 str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH
|
H A D | str_pad_variation2.phpt | 31 var_dump( bin2hex( str_pad($string, $pad_length, $pad_string, STR_PAD_RIGHT) ) );
|
/php-src/ext/mbstring/ |
H A D | mbstring.stub.php | 196 …tring $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIGHT, ?string $enco…
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 953 const STR_PAD_RIGHT = UNKNOWN; define 2595 …ad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIGHT): string {}
|
Completed in 23 milliseconds