--TEST-- ldap_unbind() - ldap_unbind() operations that should fail --CREDITS-- Patrick Allaert # Belgian PHP Testfest 2009 --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- Warning: ldap_unbind() expects exactly 1 parameter, 0 given in %s on line %d bool(false) Warning: ldap_unbind() expects exactly 1 parameter, 2 given in %s on line %d bool(false) Warning: ldap_unbind() expects parameter 1 to be resource, string given in %s on line %d bool(false) bool(true) Warning: ldap_unbind(): supplied resource is not a valid ldap link resource in %s on line %d bool(false) ===DONE===