php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/ext/ldap/tests/ |
files >> //opt/php-7.0.1/ext/ldap/tests/ldap_read_error.phpt |
--TEST-- ldap_read() - operation that should fail --CREDITS-- Patrick Allaert <patrickallaert@php.net> # Belgian PHP Testfest 2009 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php include "connect.inc"; $link = ldap_connect($host, $port); // Too few parameters var_dump(ldap_read()); var_dump(ldap_read($link)); var_dump(ldap_read($link, $link)); // Too many parameters var_dump(ldap_read($link, "$base", "(objectClass=*)", array(), 0, 0, 0, 0 , "Additional data")); ?> ===DONE=== --EXPECTF-- Warning: ldap_read() expects at least 3 parameters, 0 given in %s on line %d NULL Warning: ldap_read() expects at least 3 parameters, 1 given in %s on line %d NULL Warning: ldap_read() expects at least 3 parameters, 2 given in %s on line %d NULL Warning: ldap_read() expects at most 8 parameters, 9 given in %s on line %d NULL ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`