Home
last modified time | relevance | path

Searched refs:pad_type (Results 1 – 8 of 8) sorted by relevance

/php-src/ext/standard/tests/strings/
H A Dstr_pad.phpt13 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 Dstr_pad_variation2.phpt26 // default pad_string & pad_type
28 // default pad_type
/php-src/ext/mbstring/tests/
H A Dmb_str_pad.phpt62 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 Dinternal.phpt11 var_dump(str_pad("foo", 6, pad_type: STR_PAD_LEFT));
/php-src/ext/mbstring/
H A Dmbstring.stub.php196 function mb_str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_… argument
H A Dmbstring_arginfo.h219 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pad_type, IS_LONG, 0, "STR_PAD_RIGHT")
/php-src/ext/standard/
H A Dbasic_functions.stub.php2595 function str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIG…
H A Dbasic_functions_arginfo.h1051 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pad_type, IS_LONG, 0, "STR_PAD_RIGHT")

Completed in 41 milliseconds