1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Files
archived-php-src/ext/ldap/tests/ldap_escape_dn.phpt
T
2013-09-18 12:18:05 +01:00

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