xref: /PHP-7.3/ext/ldap/tests/bug48696.phpt (revision 2fffc2b0)
1--TEST--
2Bug #48696 (ldap_read() segfaults with invalid parameters)
3--SKIPIF--
4<?php
5require_once('skipif.inc');
6require_once('skipifbindfailure.inc');
7?>
8--FILE--
9<?php
10
11ldap_read(1,1,1);
12
13?>
14--EXPECTF--
15Warning: ldap_read(): supplied argument is not a valid ldap link resource in %s on line %d
16