xref: /PHP-8.2/ext/ldap/tests/ldap_escape_all.phpt (revision 849a34e4)
1--TEST--
2ldap_escape() test all
3--EXTENSIONS--
4ldap
5--FILE--
6<?php
7
8$subject = 'foo=bar(baz)*';
9
10var_dump(ldap_escape($subject));
11
12?>
13--EXPECT--
14string(39) "\66\6f\6f\3d\62\61\72\28\62\61\7a\29\2a"
15