Test: /ext/ldap/tests/bug77958.phpt - Version 7.4.9-dev        

Bug #77958 values in ldap_modify_batch must be "string"
Submitted: 2019-05-01 18:57:53 Modified: 2019-05-01 22:20:53
From: uther240 Assigned: mcmic
Status: Assigned Package: LDAP related
PHP Version: 7.1.28 OS: Debian

There are 3 different diffs reported by users for this test.

Count Diff
1 (33%)
001+ Warning: ldap_add(): Add: No such object in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 68 002+ 003+ Warning: ldap_modify_batch(): Batch Modify: No such object in %s/bug77958.php on line 22 004+ 005+ Warning: ldap_read(): Search: No such object in %s/bug77958.php on line 23 006+ 007+ Warning: ldap_first_entry() expects parameter 2 to be resource, bool given in %s/bug77958.php on line 23 008+ 009+ Warning: ldap_get_values() expects parameter 2 to be resource, null given in %s/bug77958.php on line 24 010+ bool(false) 011+ NULL 012+ NULL 001- bool(true) 002- resource(%d) of type (ldap result entry) 003- array(3) { 004- [0]=> 005- string(14) "xx-xx-xx-xx-xx" 006- [1]=> 007- string(6) "123456" 008- ["count"]=> 009- int(2) 010- }
1 (33%)
001+ Warning: ldap_add(): Add: Already exists in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 61 002+ 003+ Warning: ldap_add(): Add: No such object in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 68 004+ 005+ Warning: ldap_modify_batch(): Batch Modify: No such object in %s/bug77958.php on line 22 006+ 007+ Warning: ldap_read(): Search: No such object in %s/bug77958.php on line 23 008+ 009+ Warning: ldap_first_entry() expects parameter 2 to be resource, bool given in %s/bug77958.php on line 23 010+ 011+ Warning: ldap_get_values() expects parameter 2 to be resource, null given in %s/bug77958.php on line 24 012+ bool(false) 013+ NULL 014+ NULL 001- bool(true) 002- resource(%d) of type (ldap result entry) 003- array(3) { 004- [0]=> 005- string(14) "xx-xx-xx-xx-xx" 006- [1]=> 007- string(6) "123456" 008- ["count"]=> 009- int(2) 010- }
1 (33%)
001+ Warning: ldap_add(): Add: Already exists in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 48 002+ 003+ Warning: ldap_add(): Add: Already exists in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 53 004+ 005+ Warning: ldap_add(): Add: Already exists in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 61 006+ 007+ Warning: ldap_add(): Add: Already exists in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 68 008+ 009+ Warning: ldap_add(): Add: Already exists in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 75