Searched refs:pad_length (Results 1 – 13 of 13) sorted by relevance
/PHP-5.6/ext/standard/tests/strings/ |
H A D | str_pad_variation5.phpt | 2 Test str_pad() function : usage variations - unexpected large value for '$pad_length' argument 14 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $… 19 /* Test str_pad() function: with unexpected inputs for '$pad_length' 23 echo "*** Testing str_pad() function: with large value for for 'pad_length' argument ***\n"; 27 $pad_length = PHP_INT_MAX; 28 var_dump( str_pad($input, $pad_length) ); 32 *** Testing str_pad() function: with large value for for 'pad_length' argument ***
|
H A D | str_pad.phpt | 11 $pad_length = 20; 15 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_LEFT) ); 35 0, // pad_length < sizeof(input_string) 36 9, // pad_length <= sizeof(input_string) 37 10, // pad_length > sizeof(input_string) 38 16, // pad_length > sizeof(input_string) 41 /*loop through to use each varient of $pad_length on 44 foreach ($pad_lengths as $pad_length ) { 56 $pad_length = 16; 70 str_pad($input_tring, $pad_length, $pad_string, STR_PAD_LEFT, NULL ); [all …]
|
H A D | str_pad_variation2.phpt | 2 Test str_pad() function : usage variations - unexpected inputs for '$pad_length' argument 5 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $… 10 /* Test str_pad() function: with unexpected inputs for '$pad_length' 14 echo "*** Testing str_pad() function: with unexpected inputs for 'pad_length' argument ***\n"; 77 foreach($pad_lengths as $pad_length) { 79 var_dump( str_pad($input, $pad_length) ); 88 *** Testing str_pad() function: with unexpected inputs for 'pad_length' argument ***
|
H A D | str_pad_variation1.phpt | 5 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $… 11 * and expected type for '$pad_length' 73 //defining '$pad_length' argument 74 $pad_length = "20"; 80 var_dump( str_pad($input, $pad_length) );
|
H A D | str_pad_variation3.phpt | 5 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $… 11 * and expected type for '$input' and '$pad_length' 75 $pad_length = 20; 81 var_dump( str_pad($input, $pad_length, $pad_string) );
|
H A D | str_pad_variation4.phpt | 5 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $… 11 * and expected type for '$input', '$pad_length' and '$pad_string' 77 $pad_length = 20; 84 var_dump( str_pad($input, $pad_length, $pad_string, $pad_type) );
|
H A D | stristr_variation1.phpt | 68 //defining '$pad_length' argument 69 $pad_length = "20";
|
H A D | strlen_variation1.phpt | 70 //defining '$pad_length' argument 71 $pad_length = "20";
|
H A D | stristr_variation2.phpt | 68 //defining '$pad_length' argument 69 $pad_length = "20";
|
H A D | sscanf_variation2.phpt | 69 //defining '$pad_length' argument
|
H A D | sscanf_variation1.phpt | 69 //defining '$pad_length' argument
|
/PHP-5.6/ext/standard/ |
H A D | string.c | 5274 long pad_length; /* Length to pad to */ local 5285 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", &input, &input_len, &pad_length, 5292 if (pad_length <= 0 || (pad_length - input_len) <= 0) { 5306 num_pad_chars = pad_length - input_len;
|
H A D | basic_functions.c | 2423 ZEND_ARG_INFO(0, pad_length)
|
Completed in 90 milliseconds