Home
last modified time | relevance | path

Searched refs:decimal (Results 1 – 25 of 98) sorted by relevance

1234

/PHP-8.2/ext/standard/tests/math/
H A Dbase_convert_variation3.phpt5 echo 'Binary to decimal:', \PHP_EOL;
7 echo 'Octal to decimal:', \PHP_EOL;
9 echo 'Hexadecimal to decimal:', \PHP_EOL;
13 Binary to decimal:
15 Octal to decimal:
17 Hexadecimal to decimal:
H A Dbase_convert_variation2.phpt5 echo 'Binary to decimal:', \PHP_EOL;
9 echo 'Octal to decimal:', \PHP_EOL;
14 echo 'Hexadecimal to decimal:', \PHP_EOL;
20 Binary to decimal:
24 Octal to decimal:
29 Hexadecimal to decimal:
H A Dnumber_format_multichar.phpt17 echo " number_format tests.....multiple character decimal point\n";
29 echo "\n number_format tests.....multiple character decimal and thousep\n";
36 number_format tests.....multiple character decimal point
62 number_format tests.....multiple character decimal and thousep
/PHP-8.2/ext/gd/tests/
H A Dimagecolorallocate_variation5.phpt2 Test imagecolorallocate() function : usage variations - passing octal and hexa-decimal values
29 // hexa-decimal integer data
30 "Hexa-decimal 0x0" => 0x0,
31 "Hexa-decimal 0xA" => 0xA,
32 "Hexa-decimal -0xA" => -0xA,
33 "Hexa-decimal 0xFF" => 0xFF,
70 --Hexa-decimal 0x0--
75 --Hexa-decimal 0xA--
80 --Hexa-decimal -0xA--
85 --Hexa-decimal 0xFF--
/PHP-8.2/ext/date/tests/
H A Dlocaltime_variation5.phpt2 Test localtime() function : usage variation - Passing hexa decimal values to timestamp.
14 'Hexa-decimal 0' => 0x0,
15 'Hexa-decimal 10' => 0xA,
16 'Hexa-decimal -10' => -0XA
29 --Hexa-decimal 0--
71 --Hexa-decimal 10--
113 --Hexa-decimal -10--
H A Dgmstrftime_variation6.phpt14 'Hour as decimal by 24-hour format' => "%H",
15 'Hour as decimal by 12-hour format' => "%I",
16 'Minute as decimal number' => "%M",
18 'Second as decimal number' => "%S",
33 --Hour as decimal by 24-hour format--
41 --Hour as decimal by 12-hour format--
49 --Minute as decimal number--
65 --Second as decimal number--
H A Dstrftime_variation6.phpt15 'Hour as decimal by 24-hour format' => "%H",
16 'Hour as decimal by 12-hour format' => "%I",
17 'Minute as decimal number' => "%M",
19 'Second as decimal number' => "%S",
34 --Hour as decimal by 24-hour format--
42 --Hour as decimal by 12-hour format--
50 --Minute as decimal number--
66 --Second as decimal number--
H A Dgmstrftime_variation7.phpt14 'Day of the month as a decimal number' => "%d",
15 'Day of the year as a decimal number' => "%j",
16 'Day of the week as a decimal number' => "%w"
31 --Day of the month as a decimal number--
39 --Day of the year as a decimal number--
47 --Day of the week as a decimal number--
H A Dstrftime_variation7.phpt15 'Day of the month as a decimal number' => "%d",
16 'Day of the year as a decimal number' => "%j",
17 'Day of the week as a decimal number' => "%w"
32 --Day of the month as a decimal number--
40 --Day of the year as a decimal number--
48 --Day of the week as a decimal number--
H A Dgmstrftime_variation5.phpt15 'Year as decimal number without a century' => "%y",
16 'Year as decimal number including the century' => "%Y",
33 --Year as decimal number without a century--
41 --Year as decimal number including the century--
H A Dstrftime_variation5.phpt14 'Year as decimal number without a century' => "%y",
15 'Year as decimal number including the century' => "%Y",
32 --Year as decimal number without a century--
40 --Year as decimal number including the century--
H A Dgmstrftime_variation17.phpt12 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n";
21 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
H A Dstrftime_variation17.phpt12 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
20 -- Testing strftime() function with Day of the month as decimal single digit format --
H A Dgmmktime_variation8.phpt26 echo "\n-- Testing gmmktime() function with supplying hexa decimal values to arguments --\n";
35 -- Testing gmmktime() function with supplying hexa decimal values to arguments --
H A Dgmstrftime_variation18.phpt18 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n";
27 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
H A Dstrftime_variation18.phpt18 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
26 -- Testing strftime() function with Day of the month as decimal single digit format --
H A Dgmstrftime_variation9.phpt15 'Weekday as decimal' => "%u",
38 --Weekday as decimal--
/PHP-8.2/ext/filter/tests/
H A D031.phpt34 echo "\ncustom decimal:\n";
37 … var_dump(filter_var($float, FILTER_VALIDATE_FLOAT, array("options"=>array('decimal' => $dec))));
54 custom decimal:
58 filter_var(): "decimal" option must be one character long
/PHP-8.2/ext/mbstring/tests/
H A Dmb_decode_numericentity.phpt52 // Try with hex, not just decimal entities
58 // Large decimal entity, converting from non-ASCII input encoding
88 test("10 digits for decimal entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII');
89 test("More than 10 digits for decimal entity", "¥", "¥", [0, 0xFFFF, 0, 0…
118 test("Starting entity immediately after invalid decimal entity", "&#0A", "&#0A", [0x1, 0xFFFF, …
143 // First try invalid decimal/hex entities
148 // Now try valid decimal/hex entities
192 10 digits for decimal entity: string(13) "A" => string(1) "A" (Good)
193 More than 10 digits for decimal entity: string(14) "¥" => string(14) "¥" …
207 Starting entity immediately after invalid decimal entity: string(8) "&#0A" => string(4) "&#0A" …
[all …]
/PHP-8.2/ext/standard/tests/array/
H A Darray_diff_uassoc_variation9.phpt11 'decimal indexed' => array(10 => 10, -17 => -17),
26 --decimal indexed--
H A Darray_intersect_key_variation4.phpt11 'decimal indexed' => array(10 => '10', '-17' => '-17'),
25 --decimal indexed--
H A Darray_diff_key_variation4.phpt11 'decimal indexed' => array(10 => '10', '-17' => '-17'),
26 --decimal indexed--
H A Darray_diff_ukey_variation6.phpt11 'decimal indexed' => array(10 => '10', '-17' => '-17'),
30 --decimal indexed--
/PHP-8.2/ext/standard/tests/network/
H A Dip2long_variation2_x64.phpt6 …All numbers supplied as ``parts'' in a `.' notation may be decimal, octal, or hexadecimal, as spec…
8 otherwise, the number is interpreted as decimal).
/PHP-8.2/ext/oci8/tests/
H A Dbind_number.phpt22 decimal_t decimal,
75 echo "\nTEST71 insert a decimal\n";
84 echo "\nTEST72 insert a decimal\n";
167 TEST71 insert a decimal
176 TEST72 insert a decimal

Completed in 37 milliseconds

1234