Home
last modified time | relevance | path

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

/PHP-8.0/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-8.0/ext/standard/tests/array/
H A Darray_multisort_error.phpt8 $ar1 = array(1);
10 var_dump( array_multisort($ar1, SORT_ASC, SORT_ASC) );
16 $ar1 = array(1);
18 var_dump( array_multisort($ar1, SORT_STRING, SORT_NUMERIC) );
H A Darray_multisort_basic2.phpt8 $ar1 = array( "strkey" => 2, 1, 9 => 1);
12 var_dump( array_multisort($ar1, SORT_ASC, SORT_REGULAR, $ar2, SORT_ASC, SORT_NUMERIC) );
13 var_dump($ar1, $ar2);
H A Darray_multisort_basic1.phpt8 $ar1 = array("row1" => 2, "row2" => 1, "row3" => 1);
12 var_dump( array_multisort($ar1, SORT_ASC, SORT_REGULAR, $ar2, SORT_DESC, SORT_STRING) );
13 var_dump($ar1, $ar2);
H A Darray_multisort_variation3.phpt17 $ar1 = array(1, 2);
95 var_dump( array_multisort($ar1, SORT_REGULAR, $value) );
H A Darray_multisort_variation2.phpt17 $ar1 = array(1, 2);
103 var_dump( array_multisort($ar1, $value) );
H A Darray_multisort_variation1.phpt90 // loop through each element of the array for ar1
/PHP-8.0/
H A Drun-tests.php2870 array $ar1, argument
2882 while ($idx1 < $cnt1 && $idx2 < $cnt2 && comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2893 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st);
2904 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st);
2920 function generate_array_diff(array $ar1, array $ar2, bool $is_reg, array $w): array argument
2924 $cnt1 = @count($ar1);
2938 if (comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2943 $c1 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1 + 1, $idx2, $cnt1, $cnt2, 10);
2944 $c2 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2 + 1, $cnt1, $cnt2, 10);

Completed in 16 milliseconds