mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
16 lines
296 B
PHP
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
|