dis-bench / src /php /php-src /ext /ldap /tests /ldap_escape_dn.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
193 Bytes
--TEST--
ldap_escape() test DN
--EXTENSIONS--
ldap
--FILE--
<?php
$subject = 'foo=bar(baz)*';
var_dump(ldap_escape($subject, '', LDAP_ESCAPE_DN));
?>
--EXPECT--
string(15) "foo\3dbar(baz)*"