mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
15 lines
245 B
PHP
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"
|