mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
14 lines
222 B
PHP
14 lines
222 B
PHP
--TEST--
|
|
ldap_escape() test DN
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$subject = 'foo=bar(baz)*';
|
|
|
|
var_dump(ldap_escape($subject, null, LDAP_ESCAPE_DN));
|
|
|
|
?>
|
|
--EXPECT--
|
|
string(15) "foo\3dbar(baz)*"
|