xref: /PHP-5.6/ext/dba/tests/bug48240.phpt (revision 7b329d5a)
1--TEST--
2Bug #48240 (DBA Segmentation fault dba_nextkey)
3--SKIPIF--
4<?php
5	$handler = 'db4';
6	require_once(dirname(__FILE__) .'/skipif.inc');
7?>
8--FILE--
9<?php
10
11$handler = 'db4';
12require_once(dirname(__FILE__) .'/test.inc');
13
14$db = dba_open($db_filename, 'c', 'db4');
15
16var_dump(dba_nextkey($db));
17
18dba_close($db);
19
20?>
21===DONE===
22--CLEAN--
23<?php
24	require(dirname(__FILE__) .'/clean.inc');
25?>
26--EXPECT--
27bool(false)
28===DONE===
29