php-src/ext/ldap/tests/ldap_escape_ignore.phpt
2013-09-18 12:18:05 +01:00

15 lines
245 B
PHP

--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"