/PHP-8.4/ext/bcmath/tests/ |
H A D | bcdiv_by_one.phpt | 17 $dividend_label = str_pad($dividend, 4, ' ', STR_PAD_LEFT); 18 $divisor_label = str_pad($divisor, 6, ' ', STR_PAD_LEFT); 20 $quot_label = str_pad($quot, $scale + 2 + ($scale ? 1 : 0), ' ', STR_PAD_LEFT);
|
H A D | bcdiv_by_pow_10.phpt | 17 $dividend_label = str_pad($dividend, 9, ' ', STR_PAD_LEFT); 18 $divisor_label = str_pad($divisor, 5, ' ', STR_PAD_LEFT); 20 $quot_label = str_pad($quot, $scale + 7 + ($scale ? 1 : 0), ' ', STR_PAD_LEFT);
|
H A D | bcround_early_return.phpt | 35 …$result = str_pad("[{$num}, {$precision}]", 33, ' ', STR_PAD_LEFT) . ' => ' . bcround($num, $preci… 45 …$result = str_pad("[{$num}, {$precision}]", 33, ' ', STR_PAD_LEFT) . ' => ' . bcround($num, $preci… 50 echo str_pad($mode->name, 24, ' ', STR_PAD_LEFT) . ": result is same to HalfAwayFromZero\n"; 52 …echo str_pad($mode->name, 24, ' ', STR_PAD_LEFT) . ": result is not same to HalfAwayFromZero, fail…
|
H A D | bcceil.phpt | 27 echo str_pad("$num", 50, ' ', STR_PAD_LEFT), ' => ', bcceil($num), "\n";
|
H A D | bcfloor.phpt | 27 echo str_pad("$num", 50, ' ', STR_PAD_LEFT), ' => ', bcfloor($num), "\n";
|
H A D | bcround_test_helper.inc | 6 …echo str_pad("[{$num}, {$precision}]", 17, ' ', STR_PAD_LEFT), " => ", bcround($num, $precision, $…
|
/PHP-8.4/ext/mbstring/tests/ |
H A D | mb_str_pad.phpt | 15 var_dump(mb_str_pad('▶▶', 6, '', STR_PAD_LEFT)); 38 var_dump(mb_str_pad('Hello', 7, '+-', STR_PAD_LEFT)); 39 var_dump(mb_str_pad('World', 10, '+-', STR_PAD_LEFT)); 63 var_dump(mb_str_pad('▶▶', 6, pad_type: STR_PAD_LEFT)); 69 var_dump(mb_str_pad('▶▶', $i, '❤❓❇', STR_PAD_LEFT)); 84 …var_dump(mb_convert_encoding(mb_str_pad($test, 44, $pad_str, STR_PAD_LEFT, $encoding), 'UTF-8', $e… 93 ValueError: mb_str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_B…
|
/PHP-8.4/tests/output/ |
H A D | bug60768.phpt | 13 echo str_pad($i, 9, ' ', STR_PAD_LEFT) . "\n"; // full buffer dumped every time
|
/PHP-8.4/ext/mbstring/ |
H A D | gen_rare_cp_bitvec.php | 53 $result .= "0x" . str_pad(dechex($bitvec[$i]), 8, '0', STR_PAD_LEFT) . ",";
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | str_pad.phpt | 15 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_LEFT) ); 46 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_LEFT) ); 58 var_dump( str_pad($input_string, $pad_length, $pad_string, STR_PAD_LEFT) ); 306 str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH
|
H A D | str_pad_variation2.phpt | 30 var_dump( bin2hex( str_pad($string, $pad_length, $pad_string, STR_PAD_LEFT) ) );
|
/PHP-8.4/Zend/tests/named_params/ |
H A D | internal.phpt | 11 var_dump(str_pad("foo", 6, pad_type: STR_PAD_LEFT));
|
/PHP-8.4/ext/standard/tests/math/ |
H A D | round_modes.phpt | 45 str_pad($number, 7, " ", STR_PAD_LEFT) .
|
H A D | fpow.phpt | 29 print str_pad($base, 4, " ", STR_PAD_LEFT) .
|
/PHP-8.4/ext/standard/tests/password/ |
H A D | password_needs_rehash.phpt | 30 $cost = str_pad(PASSWORD_BCRYPT_DEFAULT_COST, 2, '0', STR_PAD_LEFT);
|
/PHP-8.4/ext/phar/tests/files/ |
H A D | pear2coverage.phar | 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-8.4/Zend/ |
H A D | zend_vm_gen.php | 2375 $code = str_pad((string)$code, $code_len, " ", STR_PAD_LEFT); 2382 $code = str_pad((string)$max_opcode, $code_len, " ", STR_PAD_LEFT);
|
/PHP-8.4/ext/standard/ |
H A D | basic_functions.stub.php | 948 const STR_PAD_LEFT = UNKNOWN; define
|