xref: /PHP-7.4/ext/ldap/tests/ldap_escape_all.phpt (revision d679f022)
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"
15