Searched refs:STR_PAD_BOTH (Results 1 – 4 of 4) sorted by relevance
/PHP-8.4/ext/mbstring/tests/ |
H A D | mb_str_pad.phpt | 20 var_dump(mb_str_pad('▶▶', 6, '', STR_PAD_BOTH)); 36 var_dump(mb_str_pad('Hello', 7, '+-', STR_PAD_BOTH)); 37 var_dump(mb_str_pad('World', 10, '+-', STR_PAD_BOTH)); 44 var_dump(mb_str_pad('▶▶', 2, ' ', STR_PAD_BOTH)); 45 var_dump(mb_str_pad('▶▶', 1, ' ', STR_PAD_BOTH)); 46 var_dump(mb_str_pad('▶▶', 0, ' ', STR_PAD_BOTH)); 47 var_dump(mb_str_pad('▶▶', -1, ' ', STR_PAD_BOTH)); 56 var_dump(mb_str_pad('', 2, ' ', STR_PAD_BOTH)); 57 var_dump(mb_str_pad('', 1, ' ', STR_PAD_BOTH)); 58 var_dump(mb_str_pad('', 0, ' ', STR_PAD_BOTH)); [all …]
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | str_pad.phpt | 17 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_BOTH) ); 48 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_BOTH) ); 60 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_BOTH) ); 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 | 32 var_dump( bin2hex( str_pad($string, $pad_length, $pad_string, STR_PAD_BOTH) ) );
|
/PHP-8.4/ext/standard/ |
H A D | basic_functions.stub.php | 958 const STR_PAD_BOTH = UNKNOWN; define
|
Completed in 20 milliseconds