mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
14 lines
225 B
PHP
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"
|