Searched defs:sort_type (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Darray.c144 static void php_set_compare_func(int sort_type TSRMLS_DC) /* {{{ */
146 switch (sort_type & ~PHP_SORT_FLAG_CASE) {
152 ARRAYG(compare_func) = sort_type & PHP_SORT_FLAG_CASE ? string_case_compare_function : string_compare_function;
156 ARRAYG(compare_func) = sort_type & PHP_SORT_FLAG_CASE ? string_natural_case_compare_function : string_natural_compare_function;
239 long sort_type = PHP_SORT_REGULAR; local
241 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &array, &sort_type) == FAILURE) {
245 php_set_compare_func(sort_type TSRMLS_CC);
259 long sort_type = PHP_SORT_REGULAR; local
261 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &array, &sort_type) == FAILURE) {
265 php_set_compare_func(sort_type TSRMLS_C
504 long sort_type = PHP_SORT_REGULAR; local
524 long sort_type = PHP_SORT_REGULAR; local
544 long sort_type = PHP_SORT_REGULAR; local
564 long sort_type = PHP_SORT_REGULAR; local
2706 long sort_type = PHP_SORT_STRING; local
3707 int sort_type = PHP_SORT_REGULAR; local
[all...]

Completed in 7 milliseconds