source: src/router/php7/ext/ldap/tests/bug72021.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 2 months ago

update php

File size: 321 bytes
Line 
1--TEST--
2Bug #72021 (ldap_escape() with DN flag is not RFC compliant)
3--CREDITS--
4Chad Sikorra <Chad.Sikorra@gmail.com>
5--SKIPIF--
6<?php require_once('skipif.inc'); ?>
7--FILE--
8<?php
9$subject = " Joe,= \rSmith ";
10
11var_dump(ldap_escape($subject, null, LDAP_ESCAPE_DN));
12?>
13--EXPECT--
14string(24) "\20Joe\2c\3d \0dSmith\20"
Note: See TracBrowser for help on using the repository browser.