Home
last modified time | relevance | path

Searched refs:values (Results 201 – 225 of 1977) sorted by relevance

12345678910>>...80

/PHP-7.2/ext/standard/tests/strings/
H A Dstrtr_variation9.phpt29 // array with different values
30 $values = array (
32 // integer values
37 // float values
42 // array values
49 // boolean values
72 // loop through with each element of the $values array to test strtr() function
74 for($index = 0; $index < count($values); $index++) {
76 var_dump( strtr($values[$index], $values[$index], $values[$index]) ); //fn call with three args
77 var_dump( strtr($values[$index], $values[$index]) ); //fn call with two args
H A Dchunk_split_variation7.phpt2 Test chunk_split() function : usage variations - different double quoted values for 'str' argument
16 echo "*** Testing chunk_split() : with different double quoted values for 'str' argument ***\n";
22 // different values for 'str'
23 $values = array(
39 for($count = 0; $count < count($values); $count++) {
41 var_dump( chunk_split( $values[$count], $chunklen, $ending) );
47 *** Testing chunk_split() : with different double quoted values for 'str' argument ***
H A Dtrim_variation2.phpt2 Test trim() function : usage variations - test values for $charlist argument
27 // array with different values for $input
30 // integer values
38 // float values
43 // array values
48 // boolean values
54 // null values
H A Dvprintf_variation2.phpt2 Test vprintf() function : usage variations - unexpected values for args argument
11 * Test vprintf() when different unexpected values are passed to
15 echo "*** Testing vprintf() : with unexpected values for args argument ***\n";
36 //array of values to iterate over
37 $values = array(
85 foreach($values as $value) {
99 *** Testing vprintf() : with unexpected values for args argument ***
H A Dltrim_variation2.phpt2 Test ltrim() function : usage variations - test values for $charlist argument
27 // array with different values for $input
30 // integer values
38 // float values
43 // array values
48 // boolean values
54 // null values
H A Drtrim_variation2.phpt2 Test rtrim() function : usage variations - test values for $charlist argument
27 // array with different values for $input
30 // integer values
38 // float values
43 // array values
48 // boolean values
54 // null values
H A Dstr_split_variation1.phpt2 Test str_split() function : usage variations - unexpected values for 'str' argument
13 echo "*** Testing str_split() : unexpected values for 'str' ***\n";
34 //different values for 'str' argument
35 $values = array(
84 // loop through each element of $values for 'str' argument
85 for($count = 0; $count < count($values); $count++) {
87 var_dump( str_split($values[$count], $split_length) );
96 *** Testing str_split() : unexpected values for 'str' ***
H A Dcount_chars_variation2.phpt2 Test count_chars() function : usage variations - test values for $mode argument
23 // array with different values for $input
26 // integer values
33 // float values
40 // array values
44 // boolean values
50 // null values
54 // string values
71 // with unexepcted values for the 'mode' argument
/PHP-7.2/ext/standard/tests/array/
H A Darray_rand_variation3.phpt19 // array with int values
22 // array with float values
31 // array with bool values
34 // array with hexa values
37 // array with null values
49 echo "\n*** Testing array_rand() with arrays having different types of values ***\n";
71 *** Testing array_rand() with arrays having different types of values ***
H A Darray_diff_variation3.phpt2 Test array_diff() function : usage variations - array with different data types as values
6 * Description: Returns the entries of $arr1 that have values which are not
13 * data types as values in place of $arr1
30 //array of values to iterate over
31 $values = array(
98 foreach($values as $value) {
H A Dsizeof_variation2.phpt2 Test sizeof() function : usage variations - different array values for 'var' argument
17 echo "--- Testing sizeof() with different array values for 'var' argument ---\n";
19 // array containing different types of array values for 'var' argument
20 $values = array (
37 // loop through each element of the values array for 'var' argument
40 for($i = 0; $i < count($values); $i++)
43 $var = $values[$i];
64 --- Testing sizeof() with different array values for 'var' argument ---
H A Darray_intersect_assoc_variation7.phpt2 Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr1' …
6 …* Description: Returns the entries of arr1 that have values which are present in all the other arg…
13 * associative arrays having different possible values to $arr1 argument.
17 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr1 argument ***\n";
45 // arrays with integer values
50 // arrays with float values
54 // arrays with string values
62 // array with mixed values
94 *** Testing array_intersect_assoc() : assoc array with diff values to $arr1 argument ***
H A Darray_intersect_assoc_variation8.phpt2 Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr2' …
6 …* Description: Returns the entries of arr1 that have values which are present in all the other arg…
13 * associative arrays having different possible values to $arr2 argument.
17 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr2 argument ***\n";
45 // arrays with integer values
50 // arrays with float values
54 // arrays with string values
62 // array with mixed values
94 *** Testing array_intersect_assoc() : assoc array with diff values to $arr2 argument ***
H A Darray_intersect_variation7.phpt2 Test array_intersect() function : usage variations - assoc array with diff values for 'arr1' argume…
6 …* Description: Returns the entries of arr1 that have values which are present in all the other arg…
12 * associative arrays having different possible values to $arr1 argument.
16 echo "*** Testing array_intersect() : assoc array with diff values to \$arr1 argument ***\n";
44 // arrays with integer values
49 // arrays with float values
53 // arrays with string values
61 // array with mixed values
91 *** Testing array_intersect() : assoc array with diff values to $arr1 argument ***
H A Darray_intersect_variation8.phpt2 Test array_intersect() function : usage variations - assoc array with diff values for 'arr2' argume…
6 …* Description: Returns the entries of arr1 that have values which are present in all the other arg…
12 * associative arrays having different possible values to $arr2 argument.
16 echo "*** Testing array_intersect() : assoc array with diff values to \$arr2 argument ***\n";
44 // arrays with integer values
49 // arrays with float values
53 // arrays with string values
61 // array with mixed values
91 *** Testing array_intersect() : assoc array with diff values to $arr2 argument ***
/PHP-7.2/ext/standard/tests/general_functions/
H A Dgetservbyname_variation7.phpt2 Test function getservbyname() by substituting argument 1 with string values.
7 echo "*** Test substituting argument 1 with string values ***\n";
29 *** Test substituting argument 1 with string values ***
H A Dget_cfg_var_variation5.phpt2 Test function get_cfg_var() by substituting argument 1 with int values.
14 echo "*** Test substituting argument 1 with int values ***\n";
31 *** Test substituting argument 1 with int values ***
H A Dgetservbyname_variation14.phpt2 Test function getservbyname() by substituting argument 2 with string values.
7 echo "*** Test substituting argument 2 with string values ***\n";
29 *** Test substituting argument 2 with string values ***
H A Dvar_export_basic3.phpt2 Test var_export() function with valid float values
13 echo "*** Testing var_export() with valid float values ***\n";
37 /* Loop to check for above float values with var_export() */
38 echo "\n*** Output for float values ***\n";
52 *** Testing var_export() with valid float values ***
54 *** Output for float values ***
/PHP-7.2/ext/standard/tests/math/
H A Dbindec_basic.phpt11 $values = array(111000111,
31 for ($i = 0; $i < count($values); $i++) {
32 $res = bindec($values[$i]);
H A Dbindec_basic_64bit.phpt11 $values = array(111000111,
31 for ($i = 0; $i < count($values); $i++) {
32 $res = bindec($values[$i]);
H A Dhexdec_basic.phpt9 $values = array(0x123abc,
27 for ($i = 0; $i < count($values); $i++) {
28 $res = hexdec($values[$i]);
/PHP-7.2/ext/session/tests/
H A D006.phpt33 echo "original values:\n";
44 echo "values after session:\n";
50 original values:
62 values after session:
/PHP-7.2/ext/curl/tests/
H A Dcurl_version_variation1.phpt2 Test curl_version() function : usage variations - test values for $ascii argument
30 // array with different values for $input
33 // integer values
41 // float values
46 // array values
51 //string values
56 // boolean values
62 // null values
/PHP-7.2/ext/posix/tests/
H A Dposix_ttyname_variation5.phpt2 Test function posix_ttyname() by substituting argument 1 with int values.
17 echo "*** Test substituting argument 1 with int values ***\n";
32 *** Test substituting argument 1 with int values ***

Completed in 42 milliseconds

12345678910>>...80