Home
last modified time | relevance | path

Searched refs:ar1 (Results 1 – 22 of 22) sorted by relevance

/PHP-7.2/Zend/tests/
H A Dbug52939.phpt5 $ar1 = array("row1" => 2, "row2" => 1);
6 var_dump(array_multisort($ar1));
7 var_dump($ar1);
9 $ar1 = array("row1" => 2, "row2" => 1);
10 $args = array(&$ar1);
12 var_dump($ar1);
14 $ar1 = array("row1" => 2, "row2" => 1);
15 $args = array($ar1);
17 var_dump($ar1);
/PHP-7.2/ext/standard/tests/array/
H A Darray_multisort_basic2.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
14 $ar1 = array( "strkey" => 2, 1, 9 => 1);
18 var_dump( array_multisort($ar1, SORT_ASC, SORT_REGULAR, $ar2, SORT_ASC, SORT_NUMERIC) );
19 var_dump($ar1, $ar2);
H A Darray_multisort_error.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
18 $ar1 = array(1);
19 var_dump( array_multisort($ar1, SORT_ASC, SORT_ASC) );
22 $ar1 = array(1);
23 var_dump( array_multisort($ar1, SORT_STRING, SORT_NUMERIC) );
H A Darray_multisort_basic1.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
14 $ar1 = array("row1" => 2, "row2" => 1, "row3" => 1);
18 var_dump( array_multisort($ar1, SORT_ASC, SORT_REGULAR, $ar2, SORT_DESC, SORT_STRING) );
19 var_dump($ar1, $ar2);
H A Darray_multisort_variation10.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation11.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_natural.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation4.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation5.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation6.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_case.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_incase.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_natural_case.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_natural_incase.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation7.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation2.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
23 $ar1 = array(1, 2);
108 var_dump( array_multisort($ar1, $value) );
H A Darray_multisort_variation3.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
23 $ar1 = array(1, 2);
101 var_dump( array_multisort($ar1, SORT_REGULAR, $value) );
H A Darray_multisort_variation8.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation9.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
H A Darray_multisort_variation1.phpt5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
96 // loop through each element of the array for ar1
/PHP-7.2/ext/soap/interop/
H A Dtest.utility.php79 function array_compare(&$ar1, &$ar2) { argument
80 if (gettype($ar1) != 'array' || gettype($ar2) != 'array') return FALSE;
81 if (count($ar1) != count($ar2)) return FALSE;
82 foreach ($ar1 as $k => $v) {
92 $ar1 = (array)$obj1;
94 return array_compare($ar1,$ar2);
/PHP-7.2/
H A Drun-tests.php2293 function count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2, $cnt1, $cnt2, $steps) argument
2297 while ($idx1 < $cnt1 && $idx2 < $cnt2 && comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2308 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st);
2319 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st);
2335 function generate_array_diff($ar1, $ar2, $is_reg, $w) argument
2337 $idx1 = 0; $cnt1 = @count($ar1);
2345 if (comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2351 $c1 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1+1, $idx2, $cnt1, $cnt2, 10);
2352 $c2 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2+1, $cnt1, $cnt2, 10);

Completed in 36 milliseconds