Home
last modified time | relevance | path

Searched refs:number (Results 51 – 75 of 944) sorted by relevance

12345678910>>...38

/PHP-7.1/ext/mbstring/tests/
H A Dmb_substr_count_error1.phpt2 Test mb_substr_count() function : error conditions - pass incorrect number of arguments
11 * Description: Count the number of substring occurrences
16 * Pass an incorrect number of arguments to mb_substr_count() to test behaviour
22 //Test mb_substr_count with one more than the expected number of arguments
30 // Testing mb_substr_count with one less than the expected number of arguments
/PHP-7.1/ext/intl/tests/
H A Dformatter_get_set_pattern.phpt34 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n";
38 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n";
51 Formatted number: 12345.1
53 Formatted number: 12345.123456000000000000000000000000000000000000000000000000000000000000000000000…
H A Dformatter_get_set_pattern2.phpt34 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n";
38 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n";
51 Formatted number: 12345.1
53 Formatted number: 12345.123456000000000000000000000000000000000000000000000000000000000000000000000…
H A Dformatter_format_currency.phpt10 * Format a number using misc currencies/locales.
29 $number = 1234567.89;
34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
H A Dformatter_format_currency2.phpt10 * Format a number using misc currencies/locales.
29 $number = 1234567.89;
34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
H A Drbbiter_getBinaryRules_basic2.phpt12 \$LN = [[:letter:] [:number:]];
36 string(137) "$LN = [[:letter:] [:number:]];
46 string(137) "$LN = [[:letter:] [:number:]];
/PHP-7.1/ext/standard/tests/array/
H A Darray_combine_error2.phpt25 // Testing array_combine with arrays having unequal number of elements
26 echo "\n-- Testing array_combine() function by passing array with unequal number of elements --\n";
40 Warning: array_combine(): Both parameters should have an equal number of elements in %s on line %d
45 Warning: array_combine(): Both parameters should have an equal number of elements in %s on line %d
48 -- Testing array_combine() function by passing array with unequal number of elements --
50 Warning: array_combine(): Both parameters should have an equal number of elements in %s on line %d
H A Darray_reverse_basic2.phpt17 $array = array("a" => "hello", 123 => "number", 'string' => 'blue', "10" => 13.33);
36 string(6) "number"
46 string(6) "number"
56 string(6) "number"
H A Dcount_error.phpt2 Test count() function : error conditions - pass incorrect number of args
6 * Description: Count the number of elements in a variable (usually an array)
11 * Pass incorrect number of arguments to count() to test behaviour
20 //Test count with one more than the expected number of arguments
H A Darray_rand_variation5.phpt40 echo"\n-- With num_req more than number of members in 'input' array --\n";
57 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array …
62 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array …
67 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array …
70 -- With num_req more than number of members in 'input' array --
72 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array …
/PHP-7.1/ext/standard/tests/math/
H A Dabs_basic.phpt7 /* Prototype : number abs ( mixed $number )
8 * Description: Returns the absolute value of number.
H A Dbase_convert_error.phpt5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
6 * Description: Convert a number between arbitrary bases.
17 echo "Incorrect number of arguments\n";
30 Incorrect number of arguments
H A Dround_error.phpt2 Test round() function : error conditions - incorrect number of args
6 * Description: Returns the rounded value of val to specified precision (number of digits
12 * Pass incorrect number of arguments to round() to test behaviour
/PHP-7.1/ext/dba/tests/
H A Ddba_handler.inc49 if (dba_insert("key number 6", "The 6th value", $db_writer)) {
50 echo '"key number 6" written' . "\n";
52 echo 'Failed to write "key number 6"' . "\n";
54 if (dba_insert("key number 6", "The 6th value inserted again would be an error", $db_writer)) {
55 echo '"key number 6" written 2nd time' . "\n";
57 echo 'Failed to write "key number 6" 2nd time' . "\n";
62 echo dba_fetch("key number 6", $db_writer)."\n";
H A Ddba_gdbm.phpt24 "key number 6" written
25 Failed to write "key number 6" 2nd time
29 ["key number 6"]=>
/PHP-7.1/ext/standard/tests/strings/
H A Dsscanf_basic1.phpt21 list($part, $number, $stock) = sscanf($str, $format);
22 var_dump($part, $number, $stock);
26 $res = sscanf($str, $format, $part, $number, $stock);
27 var_dump($res, $part, $number, $stock);
H A Dsscanf_basic2.phpt21 list($part, $number, $stock) = sscanf($str, $format);
22 var_dump($part, $number, $stock);
26 $res = sscanf($str, $format, $part, $number, $stock);
27 var_dump($res, $part, $number, $stock);
H A Dstrripos_error.phpt14 echo "\n-- With less than expected number of arguments --";
17 echo "\n-- With more than expected number of arguments --";
27 -- With less than expected number of arguments --
31 -- With more than expected number of arguments --
H A Dstrrpos_error.phpt14 echo "\n-- With less than expected number of arguments --";
17 echo "\n-- With more than expected number of arguments --";
27 -- With less than expected number of arguments --
31 -- With more than expected number of arguments --
H A Dmoney_format_variation2.phpt2 Test money_format() function : usage variations - test values for $number argument
11 /* Prototype : string money_format ( string $format , float $number )
12 * Description: Formats a number as a currency string
20 echo "*** Testing money_format() function: with unexpected inputs for 'number' argument ***\n";
40 // array with different values for $number
95 foreach($numbers as $number) {
97 echo gettype(money_format($format, $number))."\n";
107 *** Testing money_format() function: with unexpected inputs for 'number' argument ***
/PHP-7.1/ext/standard/tests/url/
H A Dbase64_encode_error_001.phpt2 Test base64_encode() function : error conditions - wrong number of args
11 echo "*** Testing base64_encode() : error conditions - wrong number of args ***\n";
17 //Test base64_encode with one more than the expected number of arguments
26 *** Testing base64_encode() : error conditions - wrong number of args ***
/PHP-7.1/ext/date/tests/
H A Didate_variation6.phpt17 echo "\n-- Testing idate() function for 2 digit year having no zero as starting number --\n";
21 echo "\n-- Testing idate() function for 2 digit year having zero as starting number --\n";
29 -- Testing idate() function for 2 digit year having no zero as starting number --
32 -- Testing idate() function for 2 digit year having zero as starting number --
H A Dgmstrftime_variation5.phpt21 'Year as decimal number without a century' => "%y",
22 'Year as decimal number including the century' => "%Y",
40 --Year as decimal number without a century--
44 --Year as decimal number including the century--
H A Dstrftime_variation5.phpt20 'Year as decimal number without a century' => "%y",
21 'Year as decimal number including the century' => "%Y",
39 --Year as decimal number without a century--
43 --Year as decimal number including the century--
/PHP-7.1/ext/bcmath/libbcmath/
H A DFAQ13 represent a POSIX BC number. Floats are the closest, but will not
15 a "scale" that represent the number of digits to represent after the
17 calculate an exact number of digits after the decimal point regardless
18 of the number of digits in the integer part. GMP floats have a

Completed in 22 milliseconds

12345678910>>...38