Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-8.1/ext/standard/tests/array/
H A Darray_change_key_case.phpt229 ["one"]=>
237 ["one"]=>
243 ["one"]=>
251 ["one"]=>
257 ["one"]=>
265 ["one"]=>
271 ["one"]=>
279 ["one"]=>
285 ["one"]=>
297 ["one"]=>
[all …]
H A Darray_uintersect_assoc_basic2.phpt11 $arr1 = array("one" => "one", "02" => "two", '3' => "three", "four", "0.5" => 5, 0 => 6, "0x7" => "…
12 $arr2 = array("one" => "one", "02" => "two", '3' => "three");
13 $arr3 = array("one" => "one", '3' => "three", "0.5" => 5);
14 $arr4 = array("one" => "one", '3' => "three", "0.5" => 5);
24 ["one"]=>
25 string(3) "one"
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_merge_variation4.phpt106 ["one"]=>
112 ["one"]=>
130 ["one"]=>
136 ["one"]=>
148 ["one"]=>
154 ["one"]=>
168 ["one"]=>
174 ["one"]=>
190 ["one"]=>
196 ["one"]=>
[all …]
H A Darray_diff_assoc_basic.phpt10 $array_default_key = array('one', 2, 'three', '4');
11 $array_numeric_key = array(1 => 'one', 2=> 'two', 3 => 4);
12 $array_string_key = array('one' => 1, 'two' => '2', '3' => 'three');
38 string(3) "one"
46 string(3) "one"
54 string(3) "one"
62 string(3) "one"
70 string(3) "one"
77 ["one"]=>
H A Darray_unique_basic.phpt12 $input = array("1" => "one", 1 => "one", 2 => "two", '2' => "two");
16 $input = array("1" => "one", "two", "one", 2 => "two", "three");
31 string(3) "one"
37 string(3) "one"
H A Darray_change_key_case_variation.phpt6 $item = array ("one" => 1, "two" => 2, "THREE" => 3, "FOUR" => "four");
17 /* should return one value key pair with key being in lowercase */
18 var_dump( array_change_key_case( array("ONE" => 1, "one" => 3, "One" => 4) ) );
20 /* should return one value key pair with key being in uppercase */
21 var_dump( array_change_key_case( array("ONE" => 1, "one" => 2, "One" => 3), CASE_UPPER ) );
22 var_dump( array_change_key_case( array("ONE" => 1, "one" => 1, "One" => 2), 5 ) );
39 ["one"]=>
H A Darray_merge_variation5.phpt13 $arr1 = array('zero', 'one', 'two', 'three');
14 $arr2 = array(1 => 'one', 20 => 'twenty', 30 => 'thirty');
27 string(3) "one"
33 string(3) "one"
41 string(3) "one"
49 string(3) "one"
H A Darray_merge_recursive_variation3.phpt110 string(3) "one"
140 string(3) "one"
170 string(3) "one"
192 string(3) "one"
218 string(3) "one"
394 ["one"]=>
403 ["one"]=>
462 ["one"]=>
469 ["one"]=>
492 ["one"]=>
[all …]
H A Darray_fill_keys_variation2.phpt24 $keyedArray = array("one", "two");
28 $refKeys = array("one", &$simpleStr);
36 $newArray = array("one", "two");
48 ["one"]=>
56 ["one"]=>
62 ["one"]=>
70 ["one"]=>
H A Darray_merge_recursive_variation6.phpt14 $arr1_numeric_key = array( 1 => "one", 2 => "two", 2 => array(1, 2), 3 => "three", 1 => array("dupl…
19 $arr2 = array("one", "str1" => "two", array("one", "two"));
77 string(3) "one"
83 string(3) "one"
99 string(3) "one"
103 string(3) "one"
/PHP-8.1/ext/date/lib/
H A Dinterval.c34 *two = *one; in swap_times()
35 *one = swp; in swap_times()
69 ((*one)->y == (*two)->y && (*one)->m > (*two)->m) || in sort_old_to_new()
70 ((*one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d > (*two)->d) || in sort_old_to_new()
71 …((*one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d == (*two)->d && (*one)->h > (*two)-… in sort_old_to_new()
72 …((*one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d == (*two)->d && (*one)->h == (*two)… in sort_old_to_new()
73 …((*one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d == (*two)->d && (*one)->h == (*two)… in sort_old_to_new()
74one)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d == (*two)->d && (*one)->h == (*two)->h… in sort_old_to_new()
84 ((*one)->sse == (*two)->sse && (*one)->us > (*two)->us) in sort_old_to_new()
223 rt->s = two->s - one->s - two->z + one->z; in timelib_diff()
[all …]
/PHP-8.1/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.phpt12 $arg1 = array("one");
13 $arg2 = array("one","two");
14 $arg3 = array("one","two","three");
25 string(3) "one"
26 string(7) "one two"
27 string(13) "one two three"
H A Dvprintf_basic1.phpt12 $arg1 = array("one");
13 $arg2 = array("one","two");
14 $arg3 = array("one","two","three");
30 one
32 one two
34 one two three
H A Dvfprintf_basic1.phpt12 $arg1 = array("one");
13 $arg2 = array("one","two");
14 $arg3 = array("one","two","three");
40 one
41 one two
42 one two three
/PHP-8.1/ext/reflection/tests/
H A DReflectionFunction_getClosureUsedVariables.phpt10 static $one = 1;
17 $one = 1;
20 $function = function() use ($one, $two) {
28 $function = fn() => $three = [$one];
34 $function = function() use (&$one) {
48 ["one"]=>
54 ["one"]=>
58 ["one"]=>
/PHP-8.1/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"
/PHP-8.1/ext/standard/tests/streams/
H A Dbug77680.phpt14 $path = "ftp://localhost:" . $port."/one/two/three/";
19 string(20) "CWD /one/two/three
21 string(14) "CWD /one/two
23 string(10) "CWD /one
29 string(10) "MKD /one
31 string(14) "MKD /one/two
33 string(20) "MKD /one/two/three
/PHP-8.1/ext/spl/tests/
H A Dbug32134.phpt32 $myArray->offsetSet('one', 'one');
33 var_dump($myArray->offsetGet('one'));
40 myArray::offsetSet(one,one)
41 myArray::offsetGet(one)
42 string(3) "one"
/PHP-8.1/ext/intl/tests/
H A Dmsgfmt_format_subpatterns.phpt21 =2 {{2} invites {3} and one other person to her party.}
22 other {{2} invites {3} as one of the # people invited to her party.}}}
26 =2 {{2} invites {3} and one other person to his party.}
27 other {{2} invites {3} as one of the # other people invited to his party.}}}
31 =2 {{2} invites {3} and one other person to their party.}
32 other {{2} invites {3} as one of the # other people invited to their party.}}}}
68 'Alice invites Bob and one other person to their party.'
69 'Alice invites Bob and one other person to their party.'
70 'Alice invites Bob as one of the 26 people invited to her party.'
71 'Alice invites Bob as one of the 26 people invited to her party.'
H A Dmsgfmt_format_subpatterns_named.phpt21 =2 {{host} invites {guest} and one other person to her party.}
22 other {{host} invites {guest} as one of the # people invited to her party.}}}
26 =2 {{host} invites {guest} and one other person to his party.}
27 other {{host} invites {guest} as one of the # people invited to his party.}}}
31 =2 {{host} invites {guest} and one other person to their party.}
32 other {{host} invites {guest} as one of the # people invited to their party.}}}}
68 'Alice invites Bob and one other person to their party.'
69 'Alice invites Bob and one other person to their party.'
70 'Alice invites Bob as one of the 26 people invited to her party.'
71 'Alice invites Bob as one of the 26 people invited to her party.'
/PHP-8.1/tests/lang/
H A D022.phpt15 echo "one";
35 one
45 one
55 one

Completed in 43 milliseconds

12345678910>>...28