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