]> granicus.if.org Git - php/commitdiff
Fixes ldap_sort-tests
authorAndreas Heigl <andreas@heigl.org>
Mon, 29 Jun 2015 08:18:44 +0000 (10:18 +0200)
committerCôme Bernigaud <mcmic@php.net>
Mon, 29 Jun 2015 09:11:11 +0000 (11:11 +0200)
Thanks to Côme Bernigaud for fixing!

ext/ldap/tests/ldap_sort_basic.phpt
ext/ldap/tests/ldap_sort_error.phpt
ext/ldap/tests/ldap_sort_variation.phpt

index 97444684385911e33c97ad13fda8d6e64531fdc9..25fec5e18e1f0de1cc0a9024ac23fa3c2f1d64c8 100644 (file)
@@ -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"]=>
index 6eb409073e6205b046fd60dbc3a8f1c85d0c9301..59d36323bb967b04d2b4158f5dbc85af8d0b4e55 100644 (file)
@@ -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===
index e8f00341c3e045634e1a17e1c721be8a7f63b570..501f42940adb7253495f6106c81cb967138217be 100644 (file)
@@ -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"]=>