summaryrefslogtreecommitdiff
path: root/ext/ldap/tests/ldap_escape_ignore.phpt
blob: 73260690d0f2d093bb99753f832b39a45f74e276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
ldap_escape() test ignore
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php

$subject = 'foo=bar(baz)*';
$ignore = 'ao';

var_dump(ldap_escape($subject, $ignore));

?>
--EXPECT--
string(31) "\66oo\3d\62a\72\28\62a\7a\29\2a"