php-src/ext/ldap/tests/ldap_escape_ignore.phpt
2021-06-14 10:41:33 +02:00

16 lines
218 B
PHP

--TEST--
ldap_escape() test ignore
--EXTENSIONS--
ldap
--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"