summaryrefslogtreecommitdiff
path: root/ext/ldap/tests/ldap_escape_all.phpt
blob: a79be004ffe56f763b4004e6c035fe01e9f62db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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"