Home
last modified time | relevance | path

Searched refs:str_pad (Results 1 – 21 of 21) sorted by relevance

/PHP-7.4/ext/standard/tests/file/
H A Dbug75679.phpt8str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_259_characters_long_', 100, '_') . '/', 1)…
9str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_260_characters_long_', 100, '_') . '/', 1)…
10str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_261_characters_long_', 100, '_') . '/', 1)…
33str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_259_characters_long_', 100, '_') . '/', 1)…
34str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_260_characters_long_', 100, '_') . '/', 1)…
35str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_261_characters_long_', 100, '_') . '/', 1)…
H A Dbug78296.phpt5 $dir = str_pad(__DIR__ . '/bug78296', 250, '_');
14 $dir = str_pad(__DIR__ . '/bug78296', 250, '_');
H A Dfnmatch_maxpathlen.phpt9 $longstring = str_pad('blah', PHP_MAXPATHLEN);
/PHP-7.4/ext/standard/tests/strings/
H A Dstr_pad.phpt2 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 Dstr_pad_variation5.phpt2 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 Dsetlocale_error.phpt40 var_dump(setlocale(LC_ALL,str_pad('',255,'A')));
/PHP-7.4/ext/standard/tests/array/
H A Dbug76713.phpt12 $obj->prop = str_pad("a", 10, 'a');
29 $obj->name = str_pad("b", 10, 'b');
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dbug64699.phpt38 … echo "filetype()[".str_pad($type, 4)."] == is_dir()[".str_pad($type2, 4)."] -> $comp: {$file}\n";
H A Dtest_long_path_bug30730.phpt26 $dest_dir =str_pad($dir, 200, '0');
/PHP-7.4/Zend/tests/
H A Dbug46106.phpt17 $x = new ReflectionFunction('str_pad');
/PHP-7.4/tests/output/
H A Dbug60768.phpt13 echo str_pad($i, 9, ' ', STR_PAD_LEFT) . "\n"; // full buffer dumped every time
/PHP-7.4/ext/standard/tests/streams/
H A Dbug78902.phpt14 fputs($fp, str_pad('', min($chunk,$size)));
/PHP-7.4/ext/standard/tests/class_object/
H A Dis_a.phpt18 …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.4/ext/standard/tests/dir/
H A Dbug80960.phpt13 opendir(str_pad("longname", PHP_MAXPATHLEN - strlen(getcwd()), "_"));
/PHP-7.4/ext/standard/tests/password/
H A Dpassword_needs_rehash.phpt30 $cost = str_pad(PASSWORD_BCRYPT_DEFAULT_COST, 2, '0', STR_PAD_LEFT);
/PHP-7.4/ext/oci8/tests/
H A Dlob_030.phpt29 $data = str_pad("x", $length, "x");
/PHP-7.4/ext/standard/
H A Dphp_string.h85 PHP_FUNCTION(str_pad);
H A Dbasic_functions.c2845 PHP_FE(str_pad, arginfo_str_pad)
H A Dstring.c5844 PHP_FUNCTION(str_pad) argument
/PHP-7.4/ext/phar/tests/files/
H A Dpear2coverage.phar273 $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.4/Zend/
H A Dzend_vm_gen.php2659 $code = str_pad((string)$code,$code_len," ",STR_PAD_LEFT);
2660 $op = str_pad($dsc["op"],$max_opcode_len);
2666 $code = str_pad((string)$max_opcode,$code_len," ",STR_PAD_LEFT);
2667 $op = str_pad("ZEND_VM_LAST_OPCODE",$max_opcode_len);

Completed in 67 milliseconds