diff options
| author | Andreas Heigl <andreas@heigl.org> | 2015-06-28 22:42:59 +0200 |
|---|---|---|
| committer | Côme Bernigaud <mcmic@php.net> | 2015-06-29 11:11:11 +0200 |
| commit | 85aabd3e8593b9399db49aaeee9808454e811f80 (patch) | |
| tree | f21d3826643aa7fd2b99410fe415fbf6da17f7bb /ext/ldap/ldap.c | |
| parent | 625dba022c69dc499ecab39801d90baa9fbb2120 (diff) | |
| download | php-git-85aabd3e8593b9399db49aaeee9808454e811f80.tar.gz | |
Adds deprecation-message for ldap_sort
Diffstat (limited to 'ext/ldap/ldap.c')
| -rw-r--r-- | ext/ldap/ldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index a040a0d38c..5d47fb6624 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -2001,6 +2001,8 @@ PHP_FUNCTION(ldap_sort) size_t sflen; zend_resource *le; + php_error_docref(NULL, E_DEPRECATED, "Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions"); + if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrs", &link, &result, &sortfilter, &sflen) != SUCCESS) { RETURN_FALSE; } |
