Home
last modified time | relevance | path

Searched refs:values (Results 126 – 150 of 1390) sorted by relevance

12345678910>>...56

/PHP-7.4/ext/standard/tests/math/
H A Dtanh_variation.phpt13 //Test tanh with a different input values
15 $values = array(23,
31 for ($i = 0; $i < count($values); $i++) {
32 $res = tanh($values[$i]);
H A Dacos_variation.phpt13 //Test acos with a different input values
15 $values = array(23,
31 for ($i = 0; $i < count($values); $i++) {
32 $res = acos($values[$i]);
H A Dasin_variation.phpt13 //Test asin with a different input values
15 $values = array(23,
31 for ($i = 0; $i < count($values); $i++) {
32 $res = asin($values[$i]);
H A Datanh_variation.phpt13 //Test atanh with a different input values
15 $values = array(23,
31 for ($i = 0; $i < count($values); $i++) {
32 $res = atanh($values[$i]);
H A Dsqrt_variation.phpt13 //Test sqrt with a different input values
16 $values = array(23,
32 for ($i = 0; $i < count($values); $i++) {
33 $res = sqrt($values[$i]);
H A Dis_nan_basic.phpt5 $values = array(234,
21 for ($i = 0; $i < count($values); $i++) {
22 $res = is_nan($values[$i]);
H A Dis_finite_basic.phpt5 $values = array(234,
20 for ($i = 0; $i < count($values); $i++) {
21 $res = is_finite($values[$i]);
H A Dis_infinite_basic.phpt5 $values = array(234,
20 for ($i = 0; $i < count($values); $i++) {
21 $res = is_infinite($values[$i]);
/PHP-7.4/ext/standard/tests/strings/
H A Dvfprintf_variation4_64bit.phpt2 Test vfprintf() function : usage variations - int formats with non-integer values
15 * Test vfprintf() when different int formats and non-int values are passed to
19 echo "*** Testing vfprintf() : int formats and non-integer values ***\n";
29 // Arrays of non int values for the format defined in $format.
30 // Each sub array contains non int values which correspond to each format in $format
33 // array of float values
70 // and with non-int values from the above $args_array array
87 *** Testing vfprintf() : int formats and non-integer values ***
H A Dchunk_split_variation5.phpt2 Test chunk_split() function : usage variations - different integer values for 'chunklen' argument(B…
16 * passsing different integer values for 'chunklen' argument to chunk_split()
20 echo "*** Testing chunk_split() : different integer values for 'chunklen' ***\n";
26 // different values for chunklen
27 $values = array (
39 for($count = 0; $count < count($values); $count++) {
41 var_dump( chunk_split($str, $values[$count], $ending) );
47 *** Testing chunk_split() : different integer values for 'chunklen' ***
H A Dvfprintf_variation20.phpt2 Test vfprintf() function : usage variations - unexpected values for the format argument
15 echo "*** Testing vfprintf() : with unexpected values for format argument ***\n";
36 //array of values to iterate over
37 $values = array(
91 fprintf($fp, "\n*** Testing vprintf() with with unexpected values for format argument ***\n");
94 foreach( $values as $value ) {
109 *** Testing vfprintf() : with unexpected values for format argument ***
121 *** Testing vprintf() with with unexpected values for format argument ***
H A Dvfprintf_variation4.phpt2 Test vfprintf() function : usage variations - int formats with non-integer values
15 * Test vfprintf() when different int formats and non-int values are passed to
19 echo "*** Testing vfprintf() : int formats and non-integer values ***\n";
29 // Arrays of non int values for the format defined in $format.
30 // Each sub array contains non int values which correspond to each format in $format
33 // array of float values
70 // and with non-int values from the above $args_array array
87 *** Testing vfprintf() : int formats and non-integer values ***
H A Dchunk_split_variation13.phpt18 $values = array (
23 //loop through each element of values for 'str' and default value of 'chunklen'
24 for($count = 0; $count < count($values); $count++) {
26 var_dump( chunk_split($values[$count]) );
H A Dvsprintf_variation9.phpt2 Test vsprintf() function : usage variations - char formats with char values
14 echo "*** Testing vsprintf() : char formats with char values ***\n";
29 // Arrays of char values for the format defined in $format.
30 // Each sub array contains char values which correspond to each format string in $format
44 // and with char values from the above $args_array array
55 *** Testing vsprintf() : char formats with char values ***
H A Dvprintf_variation9.phpt2 Test vprintf() function : usage variations - char formats with char values
14 echo "*** Testing vprintf() : char formats with char values ***\n";
29 // Arrays of char values for the format defined in $format.
30 // Each sub array contains char values which correspond to each format string in $format
44 // and with char values from the above $args_array array
57 *** Testing vprintf() : char formats with char values ***
H A Dvfprintf_variation13.phpt2 Test vfprintf() function : usage variations - hexa formats with hexa values
15 * Test vfprintf() when different hexa formats and hexa values are passed to
19 echo "*** Testing vfprintf() : hexa formats with hexa values ***\n";
33 // Arrays of hexa values for the format defined in $format.
34 // Each sub array contains hexa values which correspond to each format string in $format
53 // and with octal values from the above $args_array array
70 *** Testing vfprintf() : hexa formats with hexa values ***
H A Dvfprintf_variation13_64bit.phpt2 Test vfprintf() function : usage variations - hexa formats with hexa values
15 * Test vfprintf() when different hexa formats and hexa values are passed to
19 echo "*** Testing vfprintf() : hexa formats with hexa values ***\n";
33 // Arrays of hexa values for the format defined in $format.
34 // Each sub array contains hexa values which correspond to each format string in $format
53 // and with octal values from the above $args_array array
70 *** Testing vfprintf() : hexa formats with hexa values ***
/PHP-7.4/ext/standard/tests/array/
H A Duasort_variation5.phpt17 * Parameters : $value1 and $value2 - values to be compared
18 * Return value : 0 - if both values are same
61 echo "-- Sorting Single Quoted String values --\n";
70 echo "-- Sorting Double Quoted String values --\n";
76 echo "-- Sorting Heredoc String values --\n";
84 -- Sorting Single Quoted String values --
108 -- Sorting Double Quoted String values --
132 -- Sorting Heredoc String values --
H A Darray_combine_variation3.phpt5 /* Prototype : array array_combine(array $keys, array $values)
7 * and the elements of the second as the corresponding values
12 * Passing different types of arrays to both $keys and $values arguments and testing whether
39 // heredoc with quoted strings and numeric values
49 /*1*/ array(1, 2), // with default keys and numeric values
50 array(1.1, 2.2), // with default keys & float values
51 array(false,true), // with default keys and boolean values
59 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
60 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
65 // associative array, containing null/empty/boolean values as key/value
[all …]
/PHP-7.4/ext/date/tests/
H A Dgmmktime_variation8.phpt2 Test gmmktime() function : usage variation - Passing octal and hexadecimal values to arguments.
21 echo "\n-- Testing gmmktime() function with supplying octal values to arguments --\n";
32 echo "\n-- Testing gmmktime() function with supplying hexa decimal values to arguments --\n";
39 -- Testing gmmktime() function with supplying octal values to arguments --
42 -- Testing gmmktime() function with supplying hexa decimal values to arguments --
/PHP-7.4/ext/standard/tests/general_functions/
H A Dgetservbyname_variation2.phpt2 Test function getservbyname() by substituting argument 1 with boolean values.
7 echo "*** Test substituting argument 1 with boolean values ***\n";
25 *** Test substituting argument 1 with boolean values ***
H A Dgetservbyname_variation4.phpt2 Test function getservbyname() by substituting argument 1 with float values.
7 echo "*** Test substituting argument 1 with float values ***\n";
26 *** Test substituting argument 1 with float values ***
H A Dgetservbyname_variation9.phpt2 Test function getservbyname() by substituting argument 2 with boolean values.
7 echo "*** Test substituting argument 2 with boolean values ***\n";
24 *** Test substituting argument 2 with boolean values ***
H A Dgetservbyname_variation11.phpt2 Test function getservbyname() by substituting argument 2 with float values.
7 echo "*** Test substituting argument 2 with float values ***\n";
25 *** Test substituting argument 2 with float values ***
H A Dfloatval_basic.phpt11 // different valid float values
37 float values, expected output:float value for valid floating point number */
38 echo "*** Testing floatval() with valid float values ***\n";
45 float values, expected output:float value for valid floating point number */
46 echo "\n*** Testing doubleval() with valid float values ***\n";
55 *** Testing floatval() with valid float values ***
114 *** Testing doubleval() with valid float values ***

Completed in 50 milliseconds

12345678910>>...56