1--TEST--
2ldap_escape() test filter
3--EXTENSIONS--
4ldap
5--FILE--
6<?php
7
8$subject = 'foo=bar(baz)*';
9
10var_dump(ldap_escape($subject, '', LDAP_ESCAPE_FILTER));
11
12?>
13--EXPECT--
14string(19) "foo=bar\28baz\29\2a"
15