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

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

Count Diff
2 (29%)
069+ Segmentation fault (core dumped) 070+ 071+ Termsig=11 069- resource(%d) of type (ldap result) 070- array(3) { 071- ["count"]=> 072- int(2) 073- [0]=> 074- array(4) { 075- ["cn"]=> 076- array(2) { 077- ["count"]=> 078- int(1) 079- [0]=> 080- string(5) "userB" 081- } 082- [0]=> 083- string(2) "cn" 084- ["count"]=> 085- int(1) 086- ["dn"]=> 087- string(%d) "cn=userB,%s" 088- } 089- [1]=> 090- array(4) { 091- ["cn"]=> 092- array(2) { 093- ["count"]=> 094- int(1) 095- [0]=> 096- string(5) "userA" 097- } 098- [0]=> 099- string(2) "cn" 100- ["count"]=> 101- int(1) 102- ["dn"]=> 103- string(%d) "cn=userA,%s" 104- } 105- } 106- bool(true) 107- array(2) { 108- [0]=> 109- string(22) "1.2.840.113556.1.4.474" 110- [1]=> 111- string(24) "2.16.840.1.113730.3.4.10" 112- } 113- array(2) { 114- ["oid"]=> 115- string(22) "1.2.840.113556.1.4.474" 116- ["value"]=> 117- array(1) { 118- ["errcode"]=> 119- int(0) 120- } 121- } 122- int(2) 123- int(3) 124- int(0) 125- string(%d) "%s" 126- ===DONE===
1 (14%)
058+ ["Segmentation fault (core dumped) 059+ 060+ Termsig=11 058- ["1.2.840.113556.1.4.474"]=> 059- array(2) { 060- ["oid"]=> 061- string(22) "1.2.840.113556.1.4.474" 062- ["value"]=> 063- array(1) { 064- ["errcode"]=> 065- int(0) 066- } 067- } 068- } 069- resource(%d) of type (ldap result) 070- array(3) { 071- ["count"]=> 072- int(2) 073- [0]=> 074- array(4) { 075- ["cn"]=> 076- array(2) { 077- ["count"]=> 078- int(1) 079- [0]=> 080- string(5) "userB" 081- } 082- [0]=> 083- string(2) "cn" 084- ["count"]=> 085- int(1) 086- ["dn"]=> 087- string(%d) "cn=userB,%s" 088- } 089- [1]=> 090- array(4) { 091- ["cn"]=> 092- array(2) { 093- ["count"]=> 094- int(1) 095- [0]=> 096- string(5) "userA" 097- } 098- [0]=> 099- string(2) "cn" 100- ["count"]=> 101- int(1) 102- ["dn"]=> 103- string(%d) "cn=userA,%s" 104- } 105- } 106- bool(true) 107- array(2) { 108- [0]=> 109- string(22) "1.2.840.113556.1.4.474" 110- [1]=> 111- string(24) "2.16.840.1.113730.3.4.10" 112- } 113- array(2) { 114- ["oid"]=> 115- string(22) "1.2.840.113556.1.4.474" 116- ["value"]=> 117- array(1) { 118- ["errcode"]=> 119- int(0) 120- } 121- } 122- int(2) 123- int(3) 124- int(0) 125- string(%d) "%s" 126- ===DONE===
1 (14%)
058+ ["Segmentation fault 059+ 060+ Termsig=11 058- ["1.2.840.113556.1.4.474"]=> 059- array(2) { 060- ["oid"]=> 061- string(22) "1.2.840.113556.1.4.474" 062- ["value"]=> 063- array(1) { 064- ["errcode"]=> 065- int(0) 066- } 067- } 068- } 069- resource(%d) of type (ldap result) 070- array(3) { 071- ["count"]=> 072- int(2) 073- [0]=> 074- array(4) { 075- ["cn"]=> 076- array(2) { 077- ["count"]=> 078- int(1) 079- [0]=> 080- string(5) "userB" 081- } 082- [0]=> 083- string(2) "cn" 084- ["count"]=> 085- int(1) 086- ["dn"]=> 087- string(%d) "cn=userB,%s" 088- } 089- [1]=> 090- array(4) { 091- ["cn"]=> 092- array(2) { 093- ["count"]=> 094- int(1) 095- [0]=> 096- string(5) "userA" 097- } 098- [0]=> 099- string(2) "cn" 100- ["count"]=> 101- int(1) 102- ["dn"]=> 103- string(%d) "cn=userA,%s" 104- } 105- } 106- bool(true) 107- array(2) { 108- [0]=> 109- string(22) "1.2.840.113556.1.4.474" 110- [1]=> 111- string(24) "2.16.840.1.113730.3.4.10" 112- } 113- array(2) { 114- ["oid"]=> 115- string(22) "1.2.840.113556.1.4.474" 116- ["value"]=> 117- array(1) { 118- ["errcode"]=> 119- int(0) 120- } 121- } 122- int(2) 123- int(3) 124- int(0) 125- string(%d) "%s" 126- ===DONE===
1 (14%)
002+ array(5) { 002- array(4) { 004+ int(4) 004- int(3) 012+ string(5) "userZ" 012- string(5) "userC" 019+ string(28) "cn=userZ,dc=my-domain,dc=com" 019- string(%d) "cn=userC,cn=userB,%s" 028+ string(5) "userC" 028- string(5) "userB" 035+ string(37) "cn=userC,cn=userB,dc=my-domain,dc=com" 035- string(%d) "cn=userB,%s" 044+ string(5) "userB" 044- string(5) "userA" 051+ string(28) "cn=userB,dc=my-domain,dc=com" 051- string(%d) "cn=userA,%s" 053+ [3]=> 054+ array(4) { 055+ ["cn"]=> 056+ array(2) { 057+ ["count"]=> 058+ int(1) 059+ [0]=> 060+ string(5) "userA" 053- } 054- bool(true) 055- int(0) 056- string(0) "" 057- array(1) { 058- ["1.2.840.113556.1.4.474"]=> 059- array(2) { 060- ["oid"]=> 061- string(22) "1.2.840.113556.1.4.474" 062- ["value"]=> 063- array(1) { 064- ["errcode"]=> 065- int(0) 062+ [0]=> 063+ string(2) "cn" 064+ ["count"]=> 065+ int(1) 066+ ["dn"]=> 067+ string(28) "cn=userA,dc=my-domain,dc=com" 069- resource(%d) of type (ldap result) 070- array(3) { 071- ["count"]=> 072- int(2) 073- [0]=> 074- array(4) { 075- ["cn"]=> 070+ bool(true) 071+ int(0) 072+ string(0) "" 073+ array(1) { 074+ ["Segmentation fault (core dumped) 075+ 076+ Termsig=11 076- array(2) { 077- ["count"]=> 078- int(1) 079- [0]=> 080- string(5) "userB" 081- } 082- [0]=> 083- string(2) "cn" 084- ["count"]=> 085- int(1) 086- ["dn"]=> 087- string(%d) "cn=userB,%s" 088- } 089- [1]=> 090- array(4) { 091- ["cn"]=> 092- array(2) { 093- ["count"]=> 094- int(1) 095- [0]=> 096- string(5) "userA" 097- } 098- [0]=> 099- string(2) "cn" 100- ["count"]=> 101- int(1) 102- ["dn"]=> 103- string(%d) "cn=userA,%s" 104- } 105- } 106- bool(true) 107- array(2) { 108- [0]=> 109- string(22) "1.2.840.113556.1.4.474" 110- [1]=> 111- string(24) "2.16.840.1.113730.3.4.10" 112- } 113- array(2) { 114- ["oid"]=> 115- string(22) "1.2.840.113556.1.4.474" 116- ["value"]=> 117- array(1) { 118- ["errcode"]=> 119- int(0) 120- } 121- } 122- int(2) 123- int(3) 124- int(0) 125- string(%d) "%s" 126- ===DONE===
1 (14%)
001+ Warning: ldap_add(): Add: Already exists in /home/travis/build/ptomulik/php-src/ext/ldap/tests/connect.inc on line 48 002- array(4) { 003+ array(3) { 004- int(3) 005+ int(2) 012- string(5) "userC" 013+ string(5) "userZ" 019- string(%d) "cn=userC,cn=userB,%s" 020+ string(28) "cn=userZ,dc=my-domain,dc=com" 037- [2]=> 038- array(4) { 039- ["cn"]=> 040- array(2) { 041- ["count"]=> 042- int(1) 043- [0]=> 044- string(5) "userA" 038+ } 039+ bool(true) 040+ int(0) 041+ string(0) "" 042+ array(1) { 043+ ["1.2.840.113556.1.4.474"]=> 044+ array(2) { 045+ ["oid"]=> 046+ string(22) "1.2.840.113556.1.4.474" 047+ ["value"]=> 048+ array(1) { 049+ ["errcode"]=> 050+ int(0) 046- [0]=> 047- string(2) "cn" 048- ["count"]=> 049- int(1) 050- ["dn"]=> 051- string(%d) "cn=userA,%s" 054+ 055+ Warning: ldap_search(): Search: Virtual List View error in %s/ldap_search_sort_controls.php on line 32 056+ 057+ Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in %s/ldap_search_sort_controls.php on line 50 058+ 059+ Warning: ldap_parse_result() expects parameter 2 to be resource, bool given in %s/ldap_search_sort_controls.php on line 51 060+ 061+ Notice: Undefined index: 2.16.840.1.113730.3.4.10 in %s/ldap_search_sort_controls.php on line 54 062+ 063+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 54 064+ 065+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 54 066+ 067+ Notice: Undefined index: 2.16.840.1.113730.3.4.10 in %s/ldap_search_sort_controls.php on line 55 068+ 069+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 55 070+ 071+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 55 072+ 073+ Notice: Undefined index: 2.16.840.1.113730.3.4.10 in %s/ldap_search_sort_controls.php on line 56 074+ 075+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 56 076+ 077+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 56 078+ 079+ Notice: Undefined index: 2.16.840.1.113730.3.4.10 in %s/ldap_search_sort_controls.php on line 57 080+ 081+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 57 082+ 083+ Notice: Trying to access array offset on value of type null in %s/ldap_search_sort_controls.php on line 57 084+ bool(false) 085+ NULL 086+ NULL 087+ array(1) { 088+ [0]=> 089+ string(22) "1.2.840.113556.1.4.474" 090+ } 091+ array(2) { 092+ ["oid"]=> 093+ string(22) "1.2.840.113556.1.4.474" 094+ ["value"]=> 095+ array(1) { 096+ ["errcode"]=> 097+ int(0) 054- bool(true) 055- int(0) 056- string(0) "" 057- array(1) { 058- ["1.2.840.113556.1.4.474"]=> 059- array(2) { 060- ["oid"]=> 061- string(22) "1.2.840.113556.1.4.474" 062- ["value"]=> 063- array(1) { 064- ["errcode"]=> 065- int(0) 066- } 067- } 068- } 069- resource(%d) of type (ldap result) 070- array(3) { 071- ["count"]=> 072- int(2) 073- [0]=> 074- array(4) { 075- ["cn"]=> 076- array(2) { 077- ["count"]=> 078- int(1) 079- [0]=> 080- string(5) "userB" 081- } 082- [0]=> 083- string(2) "cn" 084- ["count"]=> 085- int(1) 086- ["dn"]=> 087- string(%d) "cn=userB,%s" 089- [1]=> 090- array(4) { 091- ["cn"]=> 092- array(2) { 093- ["count"]=> 094- int(1) 099+ } 100+ NULL 101+ NULL 102+ NULL 103+ string(0) "" 104+ ===DONE=== 095- [0]=> 096- string(5) "userA" 097- } 098- [0]=> 099- string(2) "cn" 100- ["count"]=> 101- int(1) 102- ["dn"]=> 103- string(%d) "cn=userA,%s" 104- } 105- } 106- bool(true) 107- array(2) { 108- [0]=> 109- string(22) "1.2.840.113556.1.4.474" 110- [1]=> 111- string(24) "2.16.840.1.113730.3.4.10" 112- } 113- array(2) { 114- ["oid"]=> 115- string(22) "1.2.840.113556.1.4.474" 116- ["value"]=> 117- array(1) { 118- ["errcode"]=> 119- int(0) 120- } 121- } 122- int(2) 123- int(3) 124- int(0) 125- string(%d) "%s" 126- ===DONE===
1 (14%)
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 012- string(5) "userC" 019- string(%d) "cn=userC,cn=userB,%s" 021+ string(5) "userZ" 028+ string(28) "cn=userZ,dc=my-domain,dc=com" 070- array(3) { 072- int(2) 079+ array(2) { 081+ int(1) 090- array(4) { 091- ["cn"]=> 092- array(2) { 093- ["count"]=> 094- int(1) 095- [0]=> 096- string(5) "userA" 097- } 098- [0]=> 099- string(2) "cn" 100- ["count"]=> 101- int(1) 102- ["dn"]=> 103- string(%d) "cn=userA,%s" 098+ } 099+ bool(true) 100+ array(2) { 101+ [0]=> 102+ string(22) "1.2.840.113556.1.4.474" 104+ string(24) "2.16.840.1.113730.3.4.10" 105+ } 106+ array(2) { 107+ ["oid"]=> 108+ string(22) "1.2.840.113556.1.4.474" 109+ ["value"]=> 110+ array(1) { 111+ ["errcode"]=> 112+ int(0) 106- bool(true) 107- array(2) { 108- [0]=> 109- string(22) "1.2.840.113556.1.4.474" 110- [1]=> 111- string(24) "2.16.840.1.113730.3.4.10" 112- } 113- array(2) { 114- ["oid"]=> 115- string(22) "1.2.840.113556.1.4.474" 116- ["value"]=> 117- array(1) { 118- ["errcode"]=> 119- int(0) 120- } 121- } 122- int(2) 123- int(3) 124- int(0) 125- string(%d) "%s" 126- ===DONE=== 115+ int(2) 116+ int(2) 117+ int(0) 118+ string(16) "304a1038ffff0000" 119+ ===DONE=== 120+ [Fri Jul 3 10:34:40 2020] Script: %s/ldap_search_sort_controls.php' 121+ /home/travis/build/ptomulik/php-src/Zend/zend_string.h(133) : Freeing 0x0000ffffa0c5a9c0 (56 bytes), %s/ldap_search_sort_controls.php 122+ Last leak repeated 2 times 123+ [Fri Jul 3 10:34:40 2020] Script: %s/ldap_search_sort_controls.php' 124+ /home/travis/build/ptomulik/php-src/Zend/zend_hash.c(256) : Freeing 0x0000ffffa0c5aa20 (56 bytes), %s/ldap_search_sort_controls.php 125+ Last leak repeated 4 times 126+ [Fri Jul 3 10:34:40 2020] Script: %s/ldap_search_sort_controls.php' 127+ /home/travis/build/ptomulik/php-src/Zend/zend_hash.c(149) : Freeing 0x0000ffffa0c72980 (320 bytes), %s/ldap_search_sort_controls.php 128+ Last leak repeated 4 times 129+ [Fri Jul 3 10:34:40 2020] Script: %s/ldap_search_sort_controls.php' 130+ /home/travis/build/ptomulik/php-src/Zend/zend_string.h(133) : Freeing 0x0000ffffa0c854b0 (48 bytes), %s/ldap_search_sort_controls.php 131+ Last leak repeated 10 times 132+ [Fri Jul 3 10:34:40 2020] Script: %s/ldap_search_sort_controls.php' 133+ Segmentation fault 134+ 135+ Termsig=11