/PHP-7.2/ext/standard/tests/file/ |
H A D | bug75679.phpt | 8 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_259_characters_long_', 100, '_') . '/', 1)… 9 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_260_characters_long_', 100, '_') . '/', 1)… 10 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_261_characters_long_', 100, '_') . '/', 1)… 33 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_259_characters_long_', 100, '_') . '/', 1)… 34 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_260_characters_long_', 100, '_') . '/', 1)… 35 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_261_characters_long_', 100, '_') . '/', 1)…
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | str_pad.phpt | 2 str_pad() function 10 $input_string = "str_pad()"; 66 str_pad(); 67 str_pad($input_string); 73 str_pad($input_string, 12, NULL); 74 str_pad($input_string, 12, ""); 83 string(20) "str_pad() " 84 string(20) "str_pad()-+-+-+-+-+-" 85 string(20) "-+-+-+-+-+-str_pad()" 86 string(20) "str_pad()-+-+-+-+-+-" [all …]
|
H A D | str_pad_variation3.phpt | 2 Test str_pad() function : usage variations - unexpected inputs for '$pad_string' argument 10 /* Test str_pad() function: with unexpected inputs for '$pad_string' 81 var_dump( str_pad($input, $pad_length, $pad_string) ); 109 Warning: str_pad() expects parameter 3 to be string, array given in %s on line %d 113 Warning: str_pad() expects parameter 3 to be string, array given in %s on line %d 123 Warning: str_pad(): Padding string cannot be empty in %s on line %d 129 Warning: str_pad(): Padding string cannot be empty in %s on line %d 133 Warning: str_pad(): Padding string cannot be empty in %s on line %d 137 Warning: str_pad(): Padding string cannot be empty in %s on line %d 147 Warning: str_pad(): Padding string cannot be empty in %s on line %d [all …]
|
H A D | str_pad_variation4.phpt | 2 Test str_pad() function : usage variations - unexpected inputs for '$pad_type' argument 12 /* Test str_pad() function: with unexpected inputs for '$pad_type' 82 // loop through with each element of the $pad_types array to test str_pad() function 86 var_dump( str_pad($input, $pad_length, $pad_string, $pad_type) ); 93 *** Testing str_pad() function: with unexpected inputs for 'pad_type' argument *** 126 Warning: str_pad() expects parameter 4 to be integer, string given in %s on line %d 130 Warning: str_pad() expects parameter 4 to be integer, string given in %s on line %d 142 Warning: str_pad() expects parameter 4 to be integer, array given in %s on line %d 146 Warning: str_pad() expects parameter 4 to be integer, array given in %s on line %d 150 Warning: str_pad() expects parameter 4 to be integer, array given in %s on line %d [all …]
|
H A D | str_pad_variation1.phpt | 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 [all …]
|
H A D | str_pad_variation2.phpt | 2 Test str_pad() function : usage variations - unexpected inputs for '$pad_length' argument 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"; 75 // loop through with each element of the $pad_lengths array to test str_pad() function 79 var_dump( str_pad($input, $pad_length) ); 88 *** Testing str_pad() function: with unexpected inputs for 'pad_length' argument *** 105 Warning: str_pad() expects parameter 2 to be integer, array given in %s on line %d 109 Warning: str_pad() expects parameter 2 to be integer, array given in %s on line %d 113 Warning: str_pad() expects parameter 2 to be integer, array given in %s on line %d 129 Warning: str_pad() expects parameter 2 to be integer, object given in %s on line %d [all …]
|
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"; 28 var_dump( str_pad($input, $pad_length) ); 32 *** Testing str_pad() function: with large value for for 'pad_length' argument ***
|
H A D | setlocale_error.phpt | 40 var_dump(setlocale(LC_ALL,str_pad('',255,'A')));
|
/PHP-7.2/ext/standard/tests/file/windows_mb_path/ |
H A D | bug64699.phpt | 38 … echo "filetype()[".str_pad($type, 4)."] == is_dir()[".str_pad($type2, 4)."] -> $comp: {$file}\n";
|
H A D | test_long_path_bug30730.phpt | 26 $dest_dir =str_pad($dir, 200, '0');
|
/PHP-7.2/Zend/tests/ |
H A D | bug46106.phpt | 17 $x = new ReflectionFunction('str_pad');
|
/PHP-7.2/tests/output/ |
H A D | bug60768.phpt | 13 echo str_pad($i, 9, ' ', STR_PAD_LEFT) . "\n"; // full buffer dumped every time
|
/PHP-7.2/ext/standard/tests/class_object/ |
H A D | is_a.phpt | 18 …echo str_pad('is_a( OBJECT:'.get_class($this).', '.$sub.') = ', 60) . (is_a($this, $sub) ? 'yes' :… 19 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_a(get_class($this), $sub)… 20 …echo str_pad('is_a( STRING:'.get_class($this).', '.$sub.', true) = ', 60). (is_a(get_class($this),… 21 …echo str_pad('is_subclass_of( OBJECT:'.get_class($this).', '.$sub.') = ', 60). (is_subclass_of($t… 22 …echo str_pad('is_subclass_of( STRING:'.get_class($this).', '.$sub.') = ', 60). (is_subclass_of(get… 23 …echo str_pad('is_subclass_of( STRING:'.get_class($this).', '.$sub.',false) = ', 60). (is_subclass_… 27 …echo str_pad('is_a( STRING:undefB, '.$sub.',true) = ', 60). (is_a('undefB', $sub, true) ? 'yes' :… 28 …echo str_pad('is_a( STRING:undefB, '.$sub.') = ', 60). (is_a('undefB', $sub) ? 'yes' : 'no')."\n"; 29 …echo str_pad('is_subclass_of( STRING:undefB, '.$sub.',false) = ', 60). (is_subclass_of('undefB', … 30 …echo str_pad('is_subclass_of( STRING:undefB, '.$sub.') = ', 60). (is_subclass_of('undefB', $sub) …
|
/PHP-7.2/ext/standard/tests/password/ |
H A D | password_needs_rehash.phpt | 26 $cost = str_pad(PASSWORD_BCRYPT_DEFAULT_COST, 2, '0', STR_PAD_LEFT);
|
/PHP-7.2/ext/oci8/tests/ |
H A D | lob_030.phpt | 29 $data = str_pad("x", $length, "x");
|
/PHP-7.2/ext/phar/tests/files/ |
H A D | pear2coverage.phar.php | 273 $output->text(str_pad($num, 8, ' ', STR_PAD_LEFT)); 277 $output->text(str_pad(': ', 13, ' ', STR_PAD_LEFT) . $line); 291 $output->text(str_pad($coverage, 10, ' ', STR_PAD_LEFT) . ' '); 371 $output->text(' Coverage: ' . str_pad($percent . '%', 4, ' ', STR_PAD_LEFT)); 459 … $output->text(' Coverage: ' . str_pad($source->coveragePercentage() . '%', 4, ' ', STR_PAD_LEFT));
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 89 PHP_FUNCTION(str_pad);
|
H A D | basic_functions.c | 2831 PHP_FE(str_pad, arginfo_str_pad)
|
H A D | string.c | 5348 PHP_FUNCTION(str_pad) argument
|
/PHP-7.2/Zend/ |
H A D | zend_vm_gen.php | 2296 $code = str_pad((string)$code,$code_len," ",STR_PAD_LEFT); 2297 $op = str_pad($dsc["op"],$max_opcode_len); 2303 $code = str_pad((string)$max_opcode,$code_len," ",STR_PAD_LEFT); 2304 $op = str_pad("ZEND_VM_LAST_OPCODE",$max_opcode_len);
|