Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/PHP-7.4/ext/standard/tests/array/
H A Darray_change_key_case.phpt235 ["one"]=>
243 ["one"]=>
249 ["one"]=>
257 ["one"]=>
263 ["one"]=>
271 ["one"]=>
277 ["one"]=>
285 ["one"]=>
291 ["one"]=>
303 ["one"]=>
[all …]
H A Darray_replace_merge_recursive_ref.phpt6 $one = [1];
8 $arr1 = ['k' => &$one];
10 var_dump(current($one), current($two));
12 var_dump(current($one), current($two));
14 $one = [1];
16 $arr1 = ['k' => &$one];
18 var_dump(current($one), current($two));
20 var_dump(current($one), current($two));
H A Darray_uintersect_assoc_basic2.phpt17 $arr1 = array("one" => "one", "02" => "two", '3' => "three", "four", "0.5" => 5, 0.6 => 6, "0x7" =>…
18 $arr2 = array("one" => "one", "02" => "two", '3' => "three");
19 $arr3 = array("one" => "one", '3' => "three", "0.5" => 5);
20 $arr4 = array("one" => "one", '3' => "three", "0.5" => 5);
31 ["one"]=>
32 string(3) "one"
H A Darray_merge_variation4.phpt123 ["one"]=>
129 ["one"]=>
151 ["one"]=>
157 ["one"]=>
175 ["one"]=>
181 ["one"]=>
195 ["one"]=>
201 ["one"]=>
213 ["one"]=>
219 ["one"]=>
[all …]
H A Darray_change_key_case_variation.phpt6 $item = array ("one" => 1, "two" => 2, "THREE" => 3, "FOUR" => "four");
13 /* should return one value key pair with key being in lowercase */
14 var_dump( array_change_key_case( array("ONE" => 1, "one" => 3, "One" => 4) ) );
15 var_dump( array_change_key_case( array("ONE" => 1, "one" => 6, "One" => 5), "CASE_UPPER" ) );
17 /* should return one value key pair with key being in uppercase */
18 var_dump( array_change_key_case( array("ONE" => 1, "one" => 2, "One" => 3), CASE_UPPER ) );
19 var_dump( array_change_key_case( array("ONE" => 1, "one" => 1, "One" => 2), 5 ) );
37 ["one"]=>
H A Darray_merge_variation5.phpt6 * Description: Merges elements from passed arrays into one array
18 $arr1 = array('zero', 'one', 'two', 'three');
19 $arr2 = array(1 => 'one', 20 => 'twenty', 30 => 'thirty');
32 string(3) "one"
38 string(3) "one"
46 string(3) "one"
54 string(3) "one"
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");
36 string(3) "one"
42 string(3) "one"
H A Darray_diff_assoc_basic.phpt16 $array_default_key = array('one', 2, 'three', '4');
17 $array_numeric_key = array(1 => 'one', 2=> 'two', 3 => 4);
18 $array_string_key = array('one' => 1, 'two' => '2', '3' => 'three');
44 string(3) "one"
52 string(3) "one"
60 string(3) "one"
68 string(3) "one"
76 string(3) "one"
83 ["one"]=>
H A Darray_merge_recursive_variation6.phpt6 * Description: Recursively merges elements from passed arrays into one array
19 $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"));
82 string(3) "one"
88 string(3) "one"
104 string(3) "one"
108 string(3) "one"
H A Darray_merge_recursive_variation3.phpt115 string(3) "one"
145 string(3) "one"
175 string(3) "one"
197 string(3) "one"
223 string(3) "one"
399 ["one"]=>
408 ["one"]=>
467 ["one"]=>
474 ["one"]=>
497 ["one"]=>
[all …]
/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'));
21 string(3) "one"
29 string(3) "one"
32 string(3) "one"
35 string(3) "one"
H A Dvsprintf_basic1.phpt17 $arg1 = array("one");
18 $arg2 = array("one","two");
19 $arg3 = array("one","two","three");
30 string(3) "one"
31 string(7) "one two"
32 string(13) "one two three"
H A Dvprintf_basic1.phpt17 $arg1 = array("one");
18 $arg2 = array("one","two");
19 $arg3 = array("one","two","three");
36 one
38 one two
40 one two three
H A Dvfprintf_basic1.phpt17 $arg1 = array("one");
18 $arg2 = array("one","two");
19 $arg3 = array("one","two","three");
46 one
47 one two
48 one two three
/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()
43 two = one; in timelib_diff()
44 one = swp; 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/Zend/tests/
H A Dbug50816.phpt12 public static $mapWithConst = array(self::ONE => 'one', self::TWO => 'two',);
14 public static $mapWithConst1 = array(1 => 'one', self::TWO => 'two',);
15 public static $mapWithConst2 = array(self::ONE => 'one', 1 => 'two',);
17 public static $mapWithoutConst = array(1 => 'one', 1 => 'two',);
20 $mapWithConst = array(1 => 'one', 1 => 'two',);
22 $mapWithoutConst = array(Foo::ONE => 'one', Foo::TWO => 'two',);
23 $mapWithoutConst0 = array(1 => 'one', 1 => 'two',);
24 $mapWithoutConst1 = array(ONE => 'one', 1 => 'two',);
25 $mapWithoutConst2 = array(1 => 'one', TWO => 'two',);
26 $mapWithoutConst3 = array(ONE => 'one', TWO => 'two',);
H A Dbug71359.phpt29 var_dump(isset($aa->zero->one->two));
32 var_dump($aa->zero->one->two ?? 42);
34 $aa->zero->one = new AA;
35 var_dump(isset($aa->zero->one->two));
36 var_dump($aa->zero->one->two ?? 42);
49 __set(one)
52 __isset(one)
53 __get(one)
58 __isset(one)
59 __get(one)
H A Dlist_keyed_non_literals.phpt7 1 => "one",
19 COMPILE_TIME_RESOLVABLE => $one,
24 var_dump($one, $two, $three);
28 string(3) "one"
H A Dbug30407.phpt6 function haricow($a = 'one') {
16 string(3) "one"
17 string(3) "one"
/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
24 string(10) "CWD /one
30 string(10) "MKD /one
32 string(14) "MKD /one/two
34 string(20) "MKD /one/two/three
/PHP-7.4/ext/spl/tests/
H A Dbug32134.phpt32 $myArray->offsetSet('one', 'one');
33 var_dump($myArray->offsetGet('one'));
42 myArray::offsetSet(one,one)
43 myArray::offsetGet(one)
44 string(3) "one"
/PHP-7.4/ext/intl/tests/
H A Dmsgfmt_format_subpatterns.phpt23 =2 {{2} invites {3} and one other person to her party.}
24 other {{2} invites {3} as one of the # people invited to her party.}}}
28 =2 {{2} invites {3} and one other person to his party.}
29 other {{2} invites {3} as one of the # other people invited to his party.}}}
33 =2 {{2} invites {3} and one other person to their party.}
34 other {{2} invites {3} as one of the # other people invited to their party.}}}}
70 'Alice invites Bob and one other person to their party.'
71 'Alice invites Bob and one other person to their party.'
72 'Alice invites Bob as one of the 26 people invited to her party.'
73 'Alice invites Bob as one of the 26 people invited to her party.'
H A Dmsgfmt_format_subpatterns_named.phpt23 =2 {{host} invites {guest} and one other person to her party.}
24 other {{host} invites {guest} as one of the # people invited to her party.}}}
28 =2 {{host} invites {guest} and one other person to his party.}
29 other {{host} invites {guest} as one of the # people invited to his party.}}}
33 =2 {{host} invites {guest} and one other person to their party.}
34 other {{host} invites {guest} as one of the # people invited to their party.}}}}
70 'Alice invites Bob and one other person to their party.'
71 'Alice invites Bob and one other person to their party.'
72 'Alice invites Bob as one of the 26 people invited to her party.'
73 'Alice invites Bob as one of the 26 people invited to her party.'
/PHP-7.4/tests/lang/
H A D022.phpt15 echo "one";
35 one
45 one
55 one
/PHP-7.4/tests/classes/
H A Dstatic_properties_004.phpt12 echo "\nChanging one changes all the others:\n";
17 $ref = 'changed.one';
28 Changing one changes all the others:
34 string(11) "changed.one"
35 string(11) "changed.one"
36 string(11) "changed.one"

Completed in 28 milliseconds

12345678910>>...27