mirror of
https://github.com/php/php-src.git
synced 2025-01-18 17:54:05 +08:00
29 lines
428 B
PHP
29 lines
428 B
PHP
--TEST--
|
|
Bug #48240 (DBA Segmentation fault dba_nextkey)
|
|
--SKIPIF--
|
|
<?php
|
|
$handler = 'db4';
|
|
require_once(dirname(__FILE__) .'/skipif.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$handler = 'db4';
|
|
require_once(dirname(__FILE__) .'/test.inc');
|
|
|
|
$db = dba_open($db_filename, 'c', 'db4');
|
|
|
|
var_dump(dba_nextkey($db));
|
|
|
|
dba_close($db);
|
|
|
|
?>
|
|
===DONE===
|
|
--CLEAN--
|
|
<?php
|
|
require(dirname(__FILE__) .'/clean.inc');
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
===DONE===
|