Home
last modified time | relevance | path

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

12345678910>>...44

/php-src/ext/standard/tests/array/
H A Darray_flip.phpt19 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d
21 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d
23 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d
H A Darray_flip_variation5.phpt2 Test array_flip() function : usage variations - 'input' argument with repeatitive keys and values
6 * Using different types of repeatitive keys as well as values for 'input' array
9 echo "*** Testing array_flip() : 'input' array with repeatitive keys/values ***\n";
38 *** Testing array_flip() : 'input' array with repeatitive keys/values ***
H A Darray_map_variation3.phpt18 /*1*/ array(1, 2), // array with default keys and numeric values
19 array(1.1, 2.2), // array with default keys & float values
21 array(false,true), // array with default keys and boolean values
27 /*8*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
28 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
29 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
33 // associative array, containing null/empty/boolean values as key/value
H A Darray_unshift_empty.phpt6 $values = [];
9 var_dump( array_unshift($array, ...$values) );
H A Darray_push_empty.phpt6 $values = [];
9 var_dump( array_push($array, ...$values) );
H A Darray_unique_variation2.phpt34 // heredoc with quoted strings and numeric values
44 /*1*/ array(1, 2, 2, 1), // with default keys and numeric values
45 array(1.1, 2.2, 1.1), // with default keys & float values
46 array(false, true, false), // with default keys and boolean values
54 /*9*/ array(1 => "one", 2 => "two", 2 => "two"), // explicit numeric keys, string values
55 array("one" => 1, "two" => 2, "1" => 1 ), // string keys & numeric values
56 array( 1 => 10, 2 => 20, 4 => 40, 5 => 10), // explicit numeric keys and numeric values
60 // associative array, containing null/empty/boolean values as key/value
H A Darray_search_variation2.phpt2 Test array_search() function : usage variations - different haystack values
5 /* Test array_search() with different possible haystack values */
7 echo "*** Testing array_search() with different haystack values ***\n";
47 *** Testing array_search() with different haystack values ***
/php-src/ext/standard/tests/strings/
H A Dstrip_tags_variation2.phpt2 Test strip_tags() function : usage variations - unexpected values for 'allowable_tags'
6 * testing functionality of strip_tags() by giving unexpected values for $allowable_tags argument
28 //array of values to iterate over
29 $values = array(
73 foreach($values as $value) {
H A Dchunk_split_variation8.phpt2 Test chunk_split() function : usage variations - different integer values for 'chunklen' with hered…
10 * passing different integer values for 'chunklen' and heredoc string for 'str' to chunk_split()
26 // different values for 'chunklen'
27 $values = array (
40 // loop through each element of values for 'chunklen'
41 for($count = 0; $count < count($values); $count++) {
44 var_dump( chunk_split($heredoc_str, $values[$count], $ending) );
H A Dsprintf_variation27.phpt2 Test sprintf() function : usage variations - char formats with char values
5 echo "*** Testing sprintf() : char formats with char values ***\n";
7 // array of char values
29 *** Testing sprintf() : char formats with char values ***
H A Dgh10940.phpt9 Warning: unpack(): Type h: not enough input values, need 1073741824 values but only 12 were provide…
H A Dchunk_split_variation11.phpt10 echo "*** Testing chunk_split() : different values for 'ending' with heredoc 'str'***\n";
21 //different values for 'ending'
22 $values = array (
32 //loop through each values for 'ending'
33 for($count = 0; $count < count($values); $count++) {
35 var_dump( chunk_split($heredoc_str, $chunklen, $values[$count]) );
41 *** Testing chunk_split() : different values for 'ending' with heredoc 'str'***
H A Dstr_split_variation3.phpt15 // different values for 'str'
16 $values = array(
32 //loop through each element of $values for 'str' argument
33 for($count = 0; $count < count($values); $count++) {
35 var_dump( str_split($values[$count], $split_length) );
H A Dstrval_basic.phpt14 //array of values to iterate over
15 $values = array(
38 foreach($values as $value) {
/php-src/ext/standard/tests/general_functions/
H A Dfloatval.phpt5 echo "*** Testing floatval() with valid float values ***\n";
6 // different valid float values
32 float values, expected output:float value for valid floating point number */
39 echo "\n*** Testing doubleval() with valid float values ***\n";
41 float values, expected output:float value for valid floating point number */
95 *** Testing floatval() with valid float values ***
118 *** Testing doubleval() with valid float values ***
H A Dproc_nice_variation5.phpt2 Test function proc_nice() by substituting argument 1 with int values.
18 echo "*** Test substituting argument 1 with int values ***\n";
35 *** Test substituting argument 1 with int values ***
/php-src/Zend/tests/in-de-crement/
H A Dincdec_strings.phpt7 $values = [
10 // Numeric-ish values
14 // Alphanumeric values
23 foreach ($values as $value) {
32 $values = [
35 // Numeric-ish values
39 // Alphanumeric values
48 foreach ($values as $value) {
/php-src/ext/opcache/tests/
H A Dsend_unpack_empty_array.phpt9 $values = [];
10 var_dump(array_push($array, 4, ...$values));
/php-src/Zend/tests/generators/
H A Dbug67497.phpt16 $values = gen();
17 $values->next();
H A Dgenerator_in_multipleiterator.phpt20 foreach ($it as $values) {
21 var_dump($values);
/php-src/ext/standard/tests/math/
H A Dhexdec_basic.phpt9 $values = array(0x123abc,
27 for ($i = 0; $i < count($values); $i++) {
28 $res = hexdec($values[$i]);
/php-src/ext/ctype/tests/
H A Dctype_alnum_variation3.phpt2 Test ctype_alnum() function : usage variations - different string values
15 $values = array(
42 // loop through each element of $values to test behaviour of ctype_alnum()
44 foreach($values as $value) {
/php-src/Zend/tests/
H A Ddval_to_lval_64.phpt11 $values = [
19 foreach ($values as $v) {
/php-src/ext/standard/tests/url/
H A Dparse_url_basic_010.phpt2 Test parse_url() function : check values of URL related constants
6 * check values of URL related constants
/php-src/tests/classes/
H A D__call_003.phpt7 function __call($name, $values)
9 $values[0][0] = 'changed';

Completed in 71 milliseconds

12345678910>>...44