/PHP-5.3/ext/standard/tests/strings/ |
H A D | convert_uuencode_variation1.phpt | 2 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 D | stripos_variation11.phpt | 28 // 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 D | vprintf_variation9.phpt | 2 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 D | vsprintf_variation9.phpt | 2 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 D | chunk_split_variation13.phpt | 18 $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 D | vfprintf_variation18.phpt | 2 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 D | vprintf_variation18.phpt | 2 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 D | sha1_variation2.phpt | 2 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 D | vsprintf_variation18.phpt | 2 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 D | trim_variation1.phpt | 2 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 D | explode_variation2.phpt | 2 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 D | ltrim_variation1.phpt | 2 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 D | rtrim_variation1.phpt | 2 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 D | vsprintf_variation2.phpt | 2 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 D | array_combine_variation3.phpt | 5 /* 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 D | array_map_variation5.phpt | 2 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 D | dechex_basic.phpt | 5 $values = array(10, 20 for ($i = 0; $i < count($values); $i++) { 21 $res = dechex($values[$i]);
|
H A D | asin_variation.phpt | 13 //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 D | acos_variation.phpt | 13 //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 D | atanh_variation.phpt | 13 //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 D | sqrt_variation.phpt | 13 //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 D | var_export_basic1.phpt | 2 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 D | getservbyname_variation12.phpt | 2 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 D | getservbyname_variation5.phpt | 2 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 D | exif_tagname_variation1.phpt | 30 // 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 ---
|