/PHP-7.0/ext/standard/tests/array/ |
H A D | array_change_key_case.phpt | 235 ["one"]=> 243 ["one"]=> 249 ["one"]=> 257 ["one"]=> 263 ["one"]=> 271 ["one"]=> 277 ["one"]=> 285 ["one"]=> 291 ["one"]=> 303 ["one"]=> [all …]
|
H A D | array_slice_variation4.phpt | 100 ["one"]=> 110 ["one"]=> 120 ["one"]=> 130 ["one"]=> 140 ["one"]=> 150 ["one"]=> 160 ["one"]=> 170 ["one"]=> 180 ["one"]=> 190 ["one"]=> [all …]
|
H A D | array_merge_variation4.phpt | 123 ["one"]=> 129 ["one"]=> 151 ["one"]=> 157 ["one"]=> 175 ["one"]=> 181 ["one"]=> 195 ["one"]=> 201 ["one"]=> 213 ["one"]=> 219 ["one"]=> [all …]
|
H A D | array_replace_merge_recursive_ref.phpt | 6 $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 D | array_uintersect_assoc_basic2.phpt | 17 $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 D | array_change_key_case_variation.phpt | 6 $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 D | array_merge_variation5.phpt | 6 * 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'); 33 string(3) "one" 39 string(3) "one" 47 string(3) "one" 55 string(3) "one"
|
H A D | array_unique_basic.phpt | 17 $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 D | array_diff_assoc_basic.phpt | 16 $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 D | array_merge_recursive_variation3.phpt | 115 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 …]
|
H A D | array_merge_recursive_variation6.phpt | 6 * 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 D | array_merge_recursive_variation4.phpt | 94 string(3) "one" 104 string(3) "one" 107 string(3) "one" 130 string(3) "one" 155 string(3) "one" 191 string(3) "one" 235 string(3) "one" 279 string(3) "one" 325 string(3) "one" 369 string(3) "one" [all …]
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | bug42107.phpt | 6 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 D | vsprintf_basic1.phpt | 17 $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 D | vprintf_basic1.phpt | 17 $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 D | vfprintf_basic1.phpt | 17 $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.0/ext/date/lib/ |
H A D | interval.c | 37 if (one->sse > two->sse) { in timelib_diff() 39 two = one; in timelib_diff() 40 one = swp; in timelib_diff() 48 && (one->z != two->z)) in timelib_diff() 50 dst_corr = two->z - one->z; in timelib_diff() 62 rt->y = two->y - one->y; in timelib_diff() 63 rt->m = two->m - one->m; in timelib_diff() 64 rt->d = two->d - one->d; in timelib_diff() 65 rt->h = two->h - one->h; in timelib_diff() 66 rt->i = two->i - one->i; in timelib_diff() [all …]
|
/PHP-7.0/Zend/tests/ |
H A D | bug50816.phpt | 12 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 D | bug71359.phpt | 29 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 D | bug30407.phpt | 6 function haricow($a = 'one') { 16 string(3) "one" 17 string(3) "one"
|
/PHP-7.0/ext/spl/tests/ |
H A D | bug32134.phpt | 32 $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.0/ext/date/tests/ |
H A D | idate_variation1.phpt | 40 $assoc_array = array ('one' => 1, 'two' => 2); 120 Warning: idate(): idate format is one char in %s on line %d 123 Warning: idate(): idate format is one char in %s on line %d 128 Warning: idate(): idate format is one char in %s on line %d 131 Warning: idate(): idate format is one char in %s on line %d 136 Warning: idate(): idate format is one char in %s on line %d 139 Warning: idate(): idate format is one char in %s on line %d 144 Warning: idate(): idate format is one char in %s on line %d 147 Warning: idate(): idate format is one char in %s on line %d 152 Warning: idate(): idate format is one char in %s on line %d [all …]
|
/PHP-7.0/ext/intl/tests/ |
H A D | msgfmt_format_subpatterns.phpt | 25 =2 {{2} invites {3} and one other person to her party.} 26 other {{2} invites {3} as one of the # people invited to her party.}}} 30 =2 {{2} invites {3} and one other person to his party.} 31 other {{2} invites {3} as one of the # other people invited to his party.}}} 35 =2 {{2} invites {3} and one other person to their party.} 36 other {{2} invites {3} as one of the # other people invited to their party.}}}} 72 'Alice invites Bob and one other person to their party.' 73 'Alice invites Bob and one other person to their party.' 74 'Alice invites Bob as one of the 26 people invited to her party.' 75 'Alice invites Bob as one of the 26 people invited to her party.'
|
H A D | msgfmt_format_subpatterns_named.phpt | 25 =2 {{host} invites {guest} and one other person to her party.} 26 other {{host} invites {guest} as one of the # people invited to her party.}}} 30 =2 {{host} invites {guest} and one other person to his party.} 31 other {{host} invites {guest} as one of the # people invited to his party.}}} 35 =2 {{host} invites {guest} and one other person to their party.} 36 other {{host} invites {guest} as one of the # people invited to their party.}}}} 72 'Alice invites Bob and one other person to their party.' 73 'Alice invites Bob and one other person to their party.' 74 'Alice invites Bob as one of the 26 people invited to her party.' 75 'Alice invites Bob as one of the 26 people invited to her party.'
|
/PHP-7.0/tests/lang/ |
H A D | 022.phpt | 15 echo "one"; 35 one 45 one 55 one
|