Annotation of embedaddon/php/ext/standard/tests/array/array_multisort_variation10.phpt, revision 1.1.1.2

1.1       misho       1: --TEST--
                      2: Test array_multisort() function : usage variation - testing with anonymous arrary arguments 
                      3: --FILE--
                      4: <?php
1.1.1.2 ! misho       5: /* Prototype  : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...])
1.1       misho       6:  * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL 
                      7:  * Source code: ext/standard/array.c
                      8:  * Alias to functions: 
                      9:  */
                     10: 
                     11: echo "*** Testing array_multisort() : Testing with anonymous arguments ***\n";
                     12: 
                     13: var_dump(array_multisort(array(1,3,2,4)));
                     14: 
                     15: ?>
                     16: ===DONE===
                     17: --EXPECTF--
                     18: *** Testing array_multisort() : Testing with anonymous arguments ***
                     19: bool(true)
                     20: ===DONE===

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>