Lines Matching refs:str_pad
2 Test str_pad() function : usage variations - unexpected inputs for '$input' argument
5 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $…
10 /* Test str_pad() function: with unexpected inputs for '$input'
14 echo "*** Testing str_pad() function: with unexpected inputs for 'input' argument ***\n";
76 // loop through with each element of the $inputs array to test str_pad() function
80 var_dump( str_pad($input, $pad_length) );
89 *** Testing str_pad() function: with unexpected inputs for 'input' argument ***
108 Warning: str_pad() expects parameter 1 to be string, array given in %s on line %d
112 Warning: str_pad() expects parameter 1 to be string, array given in %s on line %d
116 Warning: str_pad() expects parameter 1 to be string, array given in %s on line %d
134 Warning: str_pad() expects parameter 1 to be string, resource given in %s on line %d