--TEST-- ldap_error() - Basic ldap_error() operation --CREDITS-- Patrick Allaert # Belgian PHP Testfest 2009 --SKIPIF-- --FILE-- array( "top", "dcObject", "organization"), "dc" => "my-domain", "o" => "my-domain", )); var_dump( ldap_error($link) ); ?> --EXPECT-- string(17) "Invalid DN syntax"