Home
last modified time | relevance | path

Searched refs:two (Results 1 – 25 of 503) sorted by relevance

12345678910>>...21

/PHP-7.4/Zend/tests/
H A Dbug50816.phpt20 $mapWithConst = array(1 => 'one', 1 => 'two',);
39 string(3) "two"
40 string(3) "two"
41 string(3) "two"
42 string(3) "two"
43 string(3) "two"
44 string(3) "two"
45 string(3) "two"
46 string(3) "two"
47 string(3) "two"
[all …]
H A Dlist_keyed_non_literals.phpt8 2 => "two",
20 PROBABLY_NOT_COMPILE_TIME_RESOLVABLE => $two,
24 var_dump($one, $two, $three);
29 string(3) "two"
H A Dbug71359.phpt29 var_dump(isset($aa->zero->one->two));
32 var_dump($aa->zero->one->two ?? 42);
35 var_dump(isset($aa->zero->one->two));
36 var_dump($aa->zero->one->two ?? 42);
54 __isset(two)
60 __isset(two)
/PHP-7.4/ext/standard/tests/strings/
H A Dbug42107.phpt6 var_dump(sscanf('one two', '%1$s %2$s'));
7 var_dump(sscanf('one two', '%2$s %1$s'));
9 sscanf('one two', '%1$s %2$s', $foo, $bar);
11 sscanf('one two', '%2$s %1$s', $foo, $bar);
14 var_dump(sscanf('one two', '%1$d %2$d'));
15 var_dump(sscanf('one two', '%1$d'));
23 string(3) "two"
27 string(3) "two"
33 string(3) "two"
34 string(3) "two"
/PHP-7.4/ext/standard/tests/array/
H A Darray_change_key_case.phpt293 ["two"]=>
305 ["two"]=>
313 ["two"]=>
325 ["two"]=>
333 ["two"]=>
345 ["two"]=>
353 ["two"]=>
365 ["two"]=>
373 ["two"]=>
385 ["two"]=>
[all …]
H A Darray_replace_merge_recursive_ref.phpt7 $two = [42];
9 $arr2 = ['k' => &$two];
10 var_dump(current($one), current($two));
12 var_dump(current($one), current($two));
15 $two = [42];
17 $arr2 = ['k' => &$two];
18 var_dump(current($one), current($two));
20 var_dump(current($one), current($two));
H A Darray_merge_variation4.phpt125 ["two"]=>
131 ["two"]=>
153 ["two"]=>
159 ["two"]=>
177 ["two"]=>
183 ["two"]=>
197 ["two"]=>
203 ["two"]=>
215 ["two"]=>
221 ["two"]=>
[all …]
H A Darray_slice_variation6.phpt16 $input = array ('one' => 1, 2 => 'two', 'three', 9 => 'nine', 'ten' => 10);
49 string(3) "two"
55 string(3) "two"
63 string(3) "two"
77 string(3) "two"
83 string(3) "two"
91 string(3) "two"
101 string(3) "two"
113 string(3) "two"
125 string(3) "two"
[all …]
H A Darray_unique_basic.phpt17 $input = array("1" => "one", 1 => "one", 2 => "two", '2' => "two");
21 $input = array("1" => "one", "two", "one", 2 => "two", "three");
38 string(3) "two"
44 string(3) "two"
H A Darray_slice.phpt715 string(3) "two"
727 string(3) "two"
745 string(3) "two"
755 string(3) "two"
761 string(3) "two"
771 string(3) "two"
787 string(3) "two"
797 string(3) "two"
803 string(3) "two"
813 string(3) "two"
[all …]
H A Darray_shift_variation6.phpt19 $original_array = array('zero', 'one', 'two');
30 $new_array = array (&$copied_array, 1, 'two');
51 string(3) "two"
59 string(3) "two"
70 string(3) "two"
75 string(3) "two"
81 string(3) "two"
H A Darray_diff_assoc_variation6.phpt22 'two' => 2.00000000000001);
50 /*6*/ array('two' => 2,
63 /*9*/ array ('two' => 2.00000000000001,
85 ["two"]=>
99 ["two"]=>
111 ["two"]=>
125 ["two"]=>
139 ["two"]=>
163 ["two"]=>
177 ["two"]=>
H A Darray_merge_recursive_variation10.phpt2 Test array_merge_recursive() function : usage variations - two dimensional arrays
12 * two dimensional arrays for $arr1 argument.
15 echo "*** Testing array_merge_recursive() : two dimensional array for \$arr1 argument ***\n";
21 array(1 => "one", 2 => "two", "one", 'two'),
43 *** Testing array_merge_recursive() : two dimensional array for $arr1 argument ***
74 string(3) "two"
78 string(3) "two"
125 string(3) "two"
129 string(3) "two"
H A Darray_unique_variation8.phpt2 Test array_unique() function : usage variations - two dimensional arrays
12 * two dimensional arrays for $input argument.
15 echo "*** Testing array_unique() : two dimensional array for \$input argument ***\n";
21 array(1 => "one", 2 => "two", "one", 'two'),
30 *** Testing array_unique() : two dimensional array for $input argument ***
H A Darray_merge_recursive_variation6.phpt19 $arr1_numeric_key = array( 1 => "one", 2 => "two", 2 => array(1, 2), 3 => "three", 1 => array("dupl…
24 $arr2 = array("one", "str1" => "two", array("one", "two"));
84 string(3) "two"
90 string(3) "two"
99 string(3) "two"
110 string(3) "two"
H A Darray_pad_variation5.phpt2 Test array_pad() function : usage variations - two dimensional array for 'pad_value' argument
11 * Passing two dimensional array to $pad_value argument and testing whether
26 array("one" => 1, 'two' => 2)
61 ["two"]=>
83 ["two"]=>
107 ["two"]=>
129 ["two"]=>
H A Darray_map_variation3.phpt32 /*8*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
33 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
35 array( "one" => "ten", "two" => "twenty", "three" => "thirty"), // string key/value
36 array("one" => 1, 2 => "two", 4 => "four"), //mixed
46 /*18*/ array("One" => 1, "two" => 2, "One" => 10, "two" => 20, "three" => 3)
123 string(3) "two"
131 ["two"]=>
151 ["two"]=>
161 string(3) "two"
222 ["two"]=>
H A Darray_slice_variation5.phpt16 $input = array ('one' => 1, 2 => 'two', 'three', 9 => 'nine', 'ten' => 10);
38 string(3) "two"
52 string(3) "two"
66 string(3) "two"
78 string(3) "two"
116 string(3) "two"
128 string(3) "two"
182 string(3) "two"
H A Darray_reverse_variation3.phpt270 string(3) "two"
279 string(3) "two"
297 ["two"]=>
306 ["two"]=>
315 ["two"]=>
359 ["two"]=>
368 ["two"]=>
377 ["two"]=>
579 ["two"]=>
588 ["two"]=>
[all …]
H A Dend_variation3.phpt11 * Test how the internal pointer is affected when two variables are referenced to each other
16 $array1 = array ('zero', 'one', 'two');
22 // Test that when two variables are referenced to one another
39 $array1: string(3) "two"
40 $array2: string(3) "two"
/PHP-7.4/ext/date/lib/
H A Dinterval.c39 (one->sse > two->sse) || in timelib_diff()
40 (one->sse == two->sse && one->us > two->us) in timelib_diff()
42 swp = two; in timelib_diff()
43 two = one; in timelib_diff()
52 && (one->z != two->z)) in timelib_diff()
66 rt->y = two->y - one->y; in timelib_diff()
67 rt->m = two->m - one->m; in timelib_diff()
68 rt->d = two->d - one->d; in timelib_diff()
69 rt->h = two->h - one->h; in timelib_diff()
70 rt->i = two->i - one->i; in timelib_diff()
[all …]
/PHP-7.4/ext/spl/tests/
H A Dbug32134.phpt35 $myArray['two'] = 'two';
36 var_dump($myArray['two']);
45 myArray::offsetSet(two,two)
46 myArray::offsetGet(two)
47 string(3) "two"
H A Dbug45614.phpt25 echo "--> Show the first two items:\n";
28 echo "\n--> Rewind and show the first two items:\n";
32 echo "\n--> Invalidate current position and show the first two items:\n";
37 echo "\n--> Rewind, seek and show the first two items:\n";
43 --> Show the first two items:
47 --> Rewind and show the first two items:
51 --> Invalidate current position and show the first two items:
55 --> Rewind, seek and show the first two items:
/PHP-7.4/ext/standard/tests/streams/
H A Dbug77680.phpt14 $path = "ftp://localhost:" . $port."/one/two/three/";
20 string(20) "CWD /one/two/three
22 string(14) "CWD /one/two
32 string(14) "MKD /one/two
34 string(20) "MKD /one/two/three
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug21957.phpt22 $t['two'] = new test();
35 ["two"]=>
43 a:2:{s:3:"one";s:3:"ABC";s:3:"two";N;}
47 ["two"]=>

Completed in 76 milliseconds

12345678910>>...21