Home
last modified time | relevance | path

Searched refs:values (Results 151 – 175 of 1737) sorted by relevance

12345678910>>...70

/PHP-5.3/ext/standard/tests/strings/
H A Dconvert_uuencode_variation1.phpt2 Test convert_uuencode() function : usage variations - test values for $data argument
27 // array with different values for $data
30 // integer values
38 // float values
43 // array values
48 // boolean values
54 // null values
H A Dstripos_variation11.phpt28 // array with different values
29 $values = array (
31 // integer values
37 // float values
44 // array values
51 // boolean values
81 for($index = 0; $index < count($values); $index ++) {
83 $haystack = $values[$index];
84 var_dump( stripos($values[$index], $values[$index]) );
85 var_dump( stripos($values[$index], $values[$index], 1) );
[all …]
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 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
56 *** Testing vsprintf() : char formats with char 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 Dvfprintf_variation18.phpt2 Test vfprintf() function : usage variations - scientific formats with non-scientific values
11 * Test vfprintf() when different scientific formats and non-scientific values are passed to
15 echo "*** Testing vfprintf() : scientific formats and non-scientific values ***\n";
25 // Arrays of non scientific values for the format defined in $format.
26 // Each sub array contains non scientific values which correspond to each format in $format
29 // array of float values
65 // and with non-scientific values from the above $args_array array
81 *** Testing vfprintf() : scientific formats and non-scientific values ***
H A Dvprintf_variation18.phpt2 Test vprintf() function : usage variations - scientific formats with non-scientific values
11 * Test vprintf() when different scientific formats and non-scientific values are passed to
15 echo "*** Testing vprintf() : scientific formats and non-scientific values ***\n";
25 // Arrays of non scientific values for the format defined in $format.
26 // Each sub array contains non scientific values which correspond to each format in $format
29 // array of float values
60 // and with non-scientific values from the above $args_array array
73 *** Testing vprintf() : scientific formats and non-scientific values ***
H A Dsha1_variation2.phpt2 Test sha1() function : usage variations - unexpected values for 'raw' argument
10 echo "*** Testing sha1() : unexpected values for 'raw' ***\n";
30 //different values for 'str' argument
31 $values = array(
80 // loop through each element of $values for 'raw' argument
81 for($count = 0; $count < count($values); $count++) {
84 var_dump( bin2hex(sha1($string, $values[$count])) );
93 *** Testing sha1() : unexpected values for 'raw' ***
H A Dvsprintf_variation18.phpt2 Test vsprintf() function : usage variations - scientific formats with non-scientific values
11 * Test vsprintf() when different scientific formats and non-scientific values are passed to
15 echo "*** Testing vsprintf() : scientific formats and non-scientific values ***\n";
25 // Arrays of non scientific values for the format defined in $format.
26 // Each sub array contains non scientific values which correspond to each format in $format
29 // array of float values
60 // and with non-scientific values from the above $args_array array
71 *** Testing vsprintf() : scientific formats and non-scientific values ***
H A Dtrim_variation1.phpt2 Test trim() function : usage variations - test values for $str 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 Dexplode_variation2.phpt2 Test explode() function : usage variations - test values for $string argument
27 // array with different values for $string
30 // integer values
38 // float values
43 // array values
48 // boolean values
54 // null values
H A Dltrim_variation1.phpt2 Test ltrim() function : usage variations - test values for $str 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_variation1.phpt2 Test rtrim() function : usage variations - test values for $str 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 Dvsprintf_variation2.phpt2 Test vsprintf() function : usage variations - unexpected values for args argument
11 * Test vsprintf() when different unexpected values are passed to
15 echo "*** Testing vsprintf() : with unexpected values for args argument ***\n";
36 //array of values to iterate over
37 $values = array(
85 foreach($values as $value) {
97 *** Testing vsprintf() : with unexpected values for args argument ***
/PHP-5.3/ext/standard/tests/array/
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 …]
H A Darray_map_variation5.phpt2 Test array_map() function : usage variations - associative array with different values
11 * Test array_map() by passing associative array with different values for $arr1 argument
14 echo "*** Testing array_map() : associative array with diff. values for 'arr1' argument ***\n";
46 // arrays with integer values
51 // arrays with float values
55 // arrays with string values
63 // array with mixed values
80 *** Testing array_map() : associative array with diff. values for 'arr1' argument ***
/PHP-5.3/ext/standard/tests/math/
H A Ddechex_basic.phpt5 $values = array(10,
20 for ($i = 0; $i < count($values); $i++) {
21 $res = dechex($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 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 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]);
/PHP-5.3/ext/standard/tests/general_functions/
H A Dvar_export_basic1.phpt2 Test var_export() function with integer values
11 echo "*** Testing var_export() with integer values ***\n";
34 /* Loop to check for above integer values with var_export() */
35 echo "\n*** Output for integer values ***\n";
48 *** Testing var_export() with integer values ***
50 *** Output for integer values ***
H A Dgetservbyname_variation12.phpt2 Test function getservbyname() by substituting argument 2 with int values.
7 echo "*** Test substituting argument 2 with int values ***\n";
25 *** Test substituting argument 2 with int values ***
H A Dgetservbyname_variation5.phpt2 Test function getservbyname() by substituting argument 1 with int values.
7 echo "*** Test substituting argument 1 with int values ***\n";
25 *** Test substituting argument 1 with int values ***
/PHP-5.3/ext/exif/tests/
H A Dexif_tagname_variation1.phpt30 // array with different values
31 $values = array (
33 // integer values
39 // float values
46 // array values
53 // boolean values
81 // when $index arugment is supplied with different values
83 echo "\n--- Testing exif_tagname() by supplying different values for 'index' argument ---\n";
85 foreach($values as $index) {
106 --- Testing exif_tagname() by supplying different values for 'index' argument ---

Completed in 26 milliseconds

12345678910>>...70