xref: /PHP-7.0/ext/ldap/tests/ldap_escape_all.phpt (revision 0d534d7c)
1--TEST--
2ldap_escape() test all
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
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"