/PHP-7.4/Zend/tests/ |
H A D | bug52939.phpt | 5 $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.4/ext/standard/tests/array/ |
H A D | array_multisort_basic2.phpt | 5 /* 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 D | array_multisort_error.phpt | 5 /* 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 D | array_multisort_basic1.phpt | 5 /* 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 D | array_multisort_variation10.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation11.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_natural.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation4.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation5.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation6.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_case.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_incase.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_natural_case.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_natural_incase.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation7.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation8.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation2.phpt | 5 /* 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 D | array_multisort_variation3.phpt | 5 /* 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 D | array_multisort_variation9.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
H A D | array_multisort_variation1.phpt | 5 /* 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.4/ |
H A D | run-tests.php | 2785 function count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2, $cnt1, $cnt2, $steps) argument 2789 while ($idx1 < $cnt1 && $idx2 < $cnt2 && comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) { 2800 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st); 2811 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st); 2827 function generate_array_diff($ar1, $ar2, $is_reg, $w) argument 2830 $cnt1 = @count($ar1); 2839 if (comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) { 2845 $c1 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1 + 1, $idx2, $cnt1, $cnt2, 10); 2846 $c2 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2 + 1, $cnt1, $cnt2, 10);
|