Home
last modified time | relevance | path

Searched refs:STR_PAD_BOTH (Results 1 – 4 of 4) sorted by relevance

/php-src/ext/mbstring/tests/
H A Dmb_str_pad.phpt20 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-src/ext/standard/tests/strings/
H A Dstr_pad.phpt17 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 Dstr_pad_variation2.phpt32 var_dump( bin2hex( str_pad($string, $pad_length, $pad_string, STR_PAD_BOTH) ) );
/php-src/ext/standard/
H A Dbasic_functions.stub.php958 const STR_PAD_BOTH = UNKNOWN; define

Completed in 23 milliseconds