php-src/ext/ldap/tests/bug48696.phpt
Antony Dovgal 6bb52c7b4d fix test
2009-07-26 19:46:38 +00:00

16 lines
296 B
PHP

--TEST--
Bug #48696 (ldap_read() segfaults with invalid parameters)
--SKIPIF--
<?php
require_once('skipif.inc');
require_once('skipifbindfailure.inc');
?>
--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