/PHP-7.1/ext/standard/tests/array/ |
H A D | array_diff_assoc_variation6.phpt | 6 * Description: Returns the entries of $arr1 that have values which are not 26 //default keys => string values 29 //numeric keys => string values 35 //string keys => string values 41 //default keys => numeric values 44 //numeric keys => numeric values 49 //string keys => numeric values 54 //defualt keys => float values 57 //numeric keys => float values 62 //string keys => float values
|
H A D | array_fill_variation2.phpt | 2 Test array_fill() function : usage variations - unexpected values for 'num' argument 35 //array of different values for 'num' argument 36 $values = array( 38 // float values 45 // array values 52 // null values 56 // boolean values 66 // string values 85 for($index = 0; $index < count($values); $index ++) 88 $num = $values[$index]; [all …]
|
H A D | array_walk_recursive_variation3.phpt | 2 Test array_walk_recursive() function : usage variations - 'input' array with different values 18 * Parameters : $value - array entries(values) 21 * Description : prints the array values with keys and count value 28 echo "*** Testing array_walk_recursive() : 'input' array with different values***\n"; 33 // integer values 39 // string values 42 // bool values 45 // null values 65 *** Testing array_walk_recursive() : 'input' array with different values***
|
H A D | array_combine_basic.phpt | 5 /* Prototype : array array_combine(array $keys, array $values) 7 * and the elements of the second as the corresponding values 13 /* Different arrays for $keys and $values arguments */ 15 // array with default keys for $keys and $values arguments 20 // associative arrays for $keys and $values arguments 25 // mixed array for $keys and $values arguments
|
H A D | array_values_variation4.phpt | 6 * Description: Return just the values from the input array 21 echo "\n-- Array values of a two-dimensional array --\n"; 24 echo "\n-- Array values of a sub-array --\n"; 29 echo "\n-- Array values of an infinitely recursive array --\n"; 37 -- Array values of a two-dimensional array -- 54 -- Array values of a sub-array -- 64 -- Array values of an infinitely recursive array --
|
H A D | array_unique_variation4.phpt | 2 Test array_unique() function : usage variations - associative array with different values 6 * Description: Removes duplicate values from array 12 * associative arrays having different values to $input argument. 15 echo "*** Testing array_unique() : assoc. array with diff. values to \$input argument ***\n"; 37 // associative arrays with different values 39 // arrays with integer values 43 // arrays with float values 47 // arrays with string values 69 *** Testing array_unique() : assoc. array with diff. values to $input argument ***
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | stripcslashes_variation1.phpt | 32 // array with different values 33 $values = array ( 35 // integer values 41 // float values 48 // array values 55 // boolean values 77 // null values 84 // when $str argument is supplied with different values 87 for($index = 0; $index < count($values); $index ++) { 89 $str = $values [$index]; [all …]
|
H A D | stripslashes_variation1.phpt | 31 // array with different values 32 $values = array ( 34 // integer values 40 // float values 47 // array values 54 // boolean values 76 // null values 83 // when $str argument is supplied with different values 86 for($index = 0; $index < count($values); $index ++) { 88 $str = $values [$index]; [all …]
|
H A D | chop_variation1.phpt | 2 Test chop() function : usage variations - unexpected values for str argument 33 // array with different values 34 $values = array ( 36 // integer values 42 // float values 49 // array values 56 // boolean values 85 // when $str argument is supplied with different values 89 for($index = 0; $index < count($values); $index ++) { 91 $str = $values [$index]; [all …]
|
H A D | vprintf_variation8.phpt | 2 Test vprintf() function : usage variations - string formats with non-string values 11 * Test vprintf() when different string formats and non-string values are passed to 17 echo "*** Testing vprintf() : string formats and non-string values ***\n"; 27 // Arrays of non string values for the format defined in $format. 28 // Each sub array contains non string values which correspond to each format in $format 31 // array of float values 38 // array of int values 63 // and with non-string values from the above $args_array array 76 *** Testing vprintf() : string formats and non-string values ***
|
H A D | vsprintf_variation10.phpt | 2 Test vsprintf() function : usage variations - char formats with non-char values 11 * Test vsprintf() when different char formats and non-char values are passed to 15 echo "*** Testing vsprintf() : char formats and non-char values ***\n"; 25 // Arrays of non char values for the format defined in $format. 26 // Each sub array contains non char values which correspond to each format in $format 29 // array of float values 36 // array of int values 67 // and with non-char values from the above $args_array array 78 *** Testing vsprintf() : char formats and non-char values ***
|
H A D | vsprintf_variation8.phpt | 2 Test vsprintf() function : usage variations - string formats with non-string values 11 * Test vsprintf() when different string formats and non-string values are passed to 17 echo "*** Testing vsprintf() : string formats and non-string values ***\n"; 27 // Arrays of non string values for the format defined in $format. 28 // Each sub array contains non string values which correspond to each format in $format 31 // array of float values 38 // array of int values 63 // and with non-string values from the above $args_array array 74 *** Testing vsprintf() : string formats and non-string values ***
|
H A D | wordwrap_variation4.phpt | 11 * test wordwrap() by supplying different values for cut argument 27 // array with different values 28 $values = array ( 30 // integer values 36 // float values 43 // array values 50 // string values 69 // when $cut argument is supplied with different values 72 for($index = 0; $index < count($values); $index ++) { 74 $cut = $values [$index]; [all …]
|
H A D | addslashes_variation1.phpt | 31 // array with different values 32 $values = array ( 34 // integer values 40 // float values 47 // array values 54 // boolean values 82 // when $str argument is supplied with different values 83 echo "\n--- Testing addslashes() by supplying different values for 'str' argument ---\n"; 85 for($index = 0; $index < count($values); $index ++) { 87 $str = $values [$index]; [all …]
|
H A D | vprintf_variation10.phpt | 2 Test vprintf() function : usage variations - char formats with non-char values 11 * Test vprintf() when different char formats and non-char values are passed to 15 echo "*** Testing vprintf() : char formats and non-char values ***\n"; 25 // Arrays of non char values for the format defined in $format. 26 // Each sub array contains non char values which correspond to each format in $format 29 // array of float values 36 // array of int values 67 // and with non-char values from the above $args_array array 80 *** Testing vprintf() : char formats and non-char values ***
|
H A D | vprintf_variation12.phpt | 2 Test vprintf() function : usage variations - octal formats with non-octal values 15 * Test vprintf() when different octal formats and non-octal values are passed to 19 echo "*** Testing vprintf() : octal formats and non-octal values ***\n"; 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 33 // array of float values 40 // array of int values 71 // and with non-octal values from the above $args_array array 84 *** Testing vprintf() : octal formats and non-octal values ***
|
H A D | vprintf_variation12_64bit.phpt | 2 Test vprintf() function : usage variations - octal formats with non-octal values 15 * Test vprintf() when different octal formats and non-octal values are passed to 19 echo "*** Testing vprintf() : octal formats and non-octal values ***\n"; 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 33 // array of float values 40 // array of int values 71 // and with non-octal values from the above $args_array array 84 *** Testing vprintf() : octal formats and non-octal values ***
|
H A D | vprintf_variation16.phpt | 2 Test vprintf() function : usage variations - unsigned formats with signed and other types of values 15 * Test vprintf() when different unsigned formats and signed values and other types of values 19 echo "*** Testing vprintf() : unsigned formats and signed & other types of values ***\n"; 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 33 // array of float values 64 // and with signed and other types of values from the above $args_array array 76 *** Testing vprintf() : unsigned formats and signed & other types of values ***
|
H A D | vprintf_variation16_64bit.phpt | 2 Test vprintf() function : usage variations - unsigned formats with signed and other types of values 15 * Test vprintf() when different unsigned formats and signed values and other types of values 19 echo "*** Testing vprintf() : unsigned formats and signed & other types of values ***\n"; 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 33 // array of float values 64 // and with signed and other types of values from the above $args_array array 77 *** Testing vprintf() : unsigned formats and signed & other types of values ***
|
H A D | vsprintf_variation12.phpt | 2 Test vsprintf() function : usage variations - octal formats with non-octal values 15 * Test vsprintf() when different octal formats and non-octal values are passed to 19 echo "*** Testing vsprintf() : octal formats and non-octal values ***\n"; 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 33 // array of float values 40 // array of int values 71 // and with non-octal values from the above $args_array array 82 *** Testing vsprintf() : octal formats and non-octal values ***
|
H A D | vsprintf_variation12_64bit.phpt | 2 Test vsprintf() function : usage variations - octal formats with non-octal values 15 * Test vsprintf() when different octal formats and non-octal values are passed to 19 echo "*** Testing vsprintf() : octal formats and non-octal values ***\n"; 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 33 // array of float values 40 // array of int values 71 // and with non-octal values from the above $args_array array 82 *** Testing vsprintf() : octal formats and non-octal values ***
|
H A D | vsprintf_variation16.phpt | 2 Test vsprintf() function : usage variations - unsigned formats with signed and other types of values 15 * Test vsprintf() when different unsigned formats and signed values and other types of values 19 echo "*** Testing vsprintf() : unsigned formats and signed & other types of values ***\n"; 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 33 // array of float values 64 // and with signed and other types of values from the above $args_array array 75 *** Testing vsprintf() : unsigned formats and signed & other types of values ***
|
/PHP-7.1/ext/standard/tests/math/ |
H A D | log_basic.phpt | 7 $values = array(23, 21 for ($i = 0; $i < count($values); $i++) { 22 $res = log($values[$i]); 27 for ($i = 0; $i < count($values); $i++) { 28 $res = log($values[$i], 4);
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | var_export_basic2.phpt | 2 Test var_export() function with valid boolean values 12 echo "*** Testing var_export() with valid boolean values ***\n"; 23 /* Loop to check for above boolean values with var_export() */ 24 echo "\n*** Output for boolean values ***\n"; 37 *** Testing var_export() with valid boolean values *** 39 *** Output for boolean values ***
|
H A D | var_export_basic7.phpt | 2 Test var_export() function with valid null values 11 echo "*** Testing var_export() with valid null values ***\n"; 24 /* Loop to check for above null values with var_export() */ 25 echo "\n*** Output for null values ***\n"; 38 *** Testing var_export() with valid null values *** 40 *** Output for null values ***
|