Home
last modified time | relevance | path

Searched refs:STR_PAD_LEFT (Results 1 – 18 of 18) sorted by relevance

/php-src/ext/bcmath/tests/
H A Dbcdiv_by_one.phpt17 $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 Dbcdiv_by_pow_10.phpt17 $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 Dbcround_early_return.phpt35 …$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 Dbcceil.phpt27 echo str_pad("$num", 50, ' ', STR_PAD_LEFT), ' => ', bcceil($num), "\n";
H A Dbcfloor.phpt27 echo str_pad("$num", 50, ' ', STR_PAD_LEFT), ' => ', bcfloor($num), "\n";
H A Dbcround_test_helper.inc6 …echo str_pad("[{$num}, {$precision}]", 17, ' ', STR_PAD_LEFT), " => ", bcround($num, $precision, $…
/php-src/ext/mbstring/tests/
H A Dmb_str_pad.phpt15 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-src/tests/output/
H A Dbug60768.phpt13 echo str_pad($i, 9, ' ', STR_PAD_LEFT) . "\n"; // full buffer dumped every time
/php-src/ext/mbstring/
H A Dgen_rare_cp_bitvec.php53 $result .= "0x" . str_pad(dechex($bitvec[$i]), 8, '0', STR_PAD_LEFT) . ",";
/php-src/ext/standard/tests/strings/
H A Dstr_pad.phpt15 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 Dstr_pad_variation2.phpt30 var_dump( bin2hex( str_pad($string, $pad_length, $pad_string, STR_PAD_LEFT) ) );
/php-src/Zend/tests/named_params/
H A Dinternal.phpt11 var_dump(str_pad("foo", 6, pad_type: STR_PAD_LEFT));
/php-src/ext/standard/tests/math/
H A Dround_modes.phpt45 str_pad($number, 7, " ", STR_PAD_LEFT) .
H A Dfpow.phpt29 print str_pad($base, 4, " ", STR_PAD_LEFT) .
/php-src/ext/standard/tests/password/
H A Dpassword_needs_rehash.phpt30 $cost = str_pad(PASSWORD_BCRYPT_DEFAULT_COST, 2, '0', STR_PAD_LEFT);
/php-src/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-src/Zend/
H A Dzend_vm_gen.php2375 $code = str_pad((string)$code, $code_len, " ", STR_PAD_LEFT);
2382 $code = str_pad((string)$max_opcode, $code_len, " ", STR_PAD_LEFT);
/php-src/ext/standard/
H A Dbasic_functions.stub.php948 const STR_PAD_LEFT = UNKNOWN; define

Completed in 57 milliseconds