summaryrefslogtreecommitdiff
path: root/ext/ldap/tests/bug48696.phpt
blob: 3cef186a3380dab2e5631d0fe2d9f7d7c5e58452 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #48696 (ldap_read() segfaults with invalid parameters)
--FILE--
<?php

ldap_read(1,1,1);

?>
--EXPECTF--
Warning: ldap_read(): supplied argument is not a valid ldap link resource in %s on line %d