From: Andreas Heigl Date: Mon, 29 Jun 2015 08:18:44 +0000 (+0200) Subject: Fixes ldap_sort-tests X-Git-Tag: php-7.1.0alpha3~25^2~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e84f8e95e4f115bb5944e09aca4f77621711a37;p=php Fixes ldap_sort-tests Thanks to Côme Bernigaud for fixing! --- diff --git a/ext/ldap/tests/ldap_sort_basic.phpt b/ext/ldap/tests/ldap_sort_basic.phpt index 9744468438..25fec5e18e 100644 --- a/ext/ldap/tests/ldap_sort_basic.phpt +++ b/ext/ldap/tests/ldap_sort_basic.phpt @@ -51,6 +51,7 @@ ldap_delete($link, "cn=userE,$base"); remove_dummy_data($link, $base); ?> --EXPECTF-- +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d bool(true) array(7) { ["count"]=> diff --git a/ext/ldap/tests/ldap_sort_error.phpt b/ext/ldap/tests/ldap_sort_error.phpt index 6eb409073e..59d36323bb 100644 --- a/ext/ldap/tests/ldap_sort_error.phpt +++ b/ext/ldap/tests/ldap_sort_error.phpt @@ -18,18 +18,28 @@ var_dump(ldap_sort($link, $link, "sn")); ?> ===DONE=== --EXPECTF-- +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects exactly 3 parameters, 1 given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects exactly 3 parameters, 2 given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects exactly 3 parameters, 4 given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects parameter 3 to be %binary_string_optional%, resource given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort(): Supplied resource is not a valid ldap result resource in %s on line %d bool(false) ===DONE=== diff --git a/ext/ldap/tests/ldap_sort_variation.phpt b/ext/ldap/tests/ldap_sort_variation.phpt index e8f00341c3..501f42940a 100644 --- a/ext/ldap/tests/ldap_sort_variation.phpt +++ b/ext/ldap/tests/ldap_sort_variation.phpt @@ -51,6 +51,7 @@ ldap_delete($link, "cn=userE,$base"); remove_dummy_data($link, $base); ?> --EXPECTF-- +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d bool(true) array(7) { ["count"]=>