Searched refs:pad_type (Results 1 – 8 of 8) sorted by relevance
/php-src/ext/standard/tests/strings/ |
H A D | str_pad.phpt | 13 var_dump( str_pad($input_string, $pad_length) ); // default pad_string & pad_type 14 var_dump( str_pad($input_string, $pad_length, $pad_string) ); // default pad_type 44 var_dump( str_pad($input_string, $pad_length) ); // default pad_string & pad_type 45 var_dump( str_pad($input_string, $pad_length, $pad_string) ); // default pad_type 57 var_dump( str_pad($input_string, $pad_length, $pad_string) ); // default pad_type 73 /* bad pad_type - passing an undefined one */ 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 | 26 // default pad_string & pad_type 28 // default pad_type
|
/php-src/ext/mbstring/tests/ |
H A D | mb_str_pad.phpt | 62 var_dump(mb_str_pad('▶▶', 6, pad_type: STR_PAD_RIGHT)); 63 var_dump(mb_str_pad('▶▶', 6, pad_type: STR_PAD_LEFT)); 64 var_dump(mb_str_pad('▶▶', 6, pad_type: STR_PAD_BOTH)); 93 ValueError: mb_str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_B…
|
/php-src/Zend/tests/named_params/ |
H A D | internal.phpt | 11 var_dump(str_pad("foo", 6, pad_type: STR_PAD_LEFT));
|
/php-src/ext/mbstring/ |
H A D | mbstring.stub.php | 196 function mb_str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_… argument
|
H A D | mbstring_arginfo.h | 219 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pad_type, IS_LONG, 0, "STR_PAD_RIGHT")
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2595 function str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIG…
|
H A D | basic_functions_arginfo.h | 1051 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pad_type, IS_LONG, 0, "STR_PAD_RIGHT")
|
Completed in 41 milliseconds