summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-01-14 17:22:58 +0800
committerXinchen Hui <laruence@gmail.com>2015-01-14 18:02:41 +0800
commit2193de0d185eb9d35e4dd7b93cf69d509b0526b9 (patch)
treefffc6d3a9a86b82bf18bf582389742f1103d974b /sapi/cli/php_cli.c
parentade7a410403d7ec3fc1579bee3b890b1ce549eec (diff)
downloadphp-git-2193de0d185eb9d35e4dd7b93cf69d509b0526b9.tar.gz
Faster sorting algo
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 749e291771..74c36d9328 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -201,7 +201,7 @@ static void print_modules(void) /* {{{ */
zend_hash_init(&sorted_registry, 50, NULL, NULL, 0);
zend_hash_copy(&sorted_registry, &module_registry, NULL);
- zend_hash_sort(&sorted_registry, zend_qsort, module_name_cmp, 0);
+ zend_hash_sort(&sorted_registry, module_name_cmp, 0);
zend_hash_apply(&sorted_registry, print_module_info);
zend_hash_destroy(&sorted_registry);
}