/PHP-5.5/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-5.5/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_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_variation8.phpt | 5 /* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|S…
|
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-5.5/ext/soap/interop/ |
H A D | test.utility.php | 79 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-5.5/ |
H A D | run-tests.php | 2145 function count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2, $cnt1, $cnt2, $steps) argument 2149 while ($idx1 < $cnt1 && $idx2 < $cnt2 && comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) { 2160 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st); 2171 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st); 2187 function generate_array_diff($ar1, $ar2, $is_reg, $w) argument 2189 $idx1 = 0; $ofs1 = 0; $cnt1 = @count($ar1); 2197 if (comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) { 2203 $c1 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1+1, $idx2, $cnt1, $cnt2, 10); 2204 $c2 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2+1, $cnt1, $cnt2, 10);
|