Annotation of embedaddon/php/ext/standard/tests/array/array_multisort_variation11.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: Test array_multisort() function : usage variation - testing with empty array
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 empty array ***\n";
12:
13: var_dump(array_multisort(array()));
14:
15: ?>
16: ===DONE===
17: <?php exit(0); ?>
18: --EXPECTF--
19: *** Testing array_multisort() : Testing with empty array ***
20: bool(true)
21: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>