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

14 lines
225 B
PHP

--TEST--
ldap_escape() test all
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$subject = 'foo=bar(baz)*';
var_dump(ldap_escape($subject));
?>
--EXPECT--
string(39) "\66\6f\6f\3d\62\61\72\28\62\61\7a\29\2a"