mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
f11228cdbe
These tests use the same filename, and as such must not be run in parallel.
26 lines
408 B
PHP
26 lines
408 B
PHP
--TEST--
|
|
Bug GH-9155 (dba_open("non-existing", "c-", "flatfile") segfaults)
|
|
--EXTENSIONS--
|
|
dba
|
|
--CONFLICTS--
|
|
dba
|
|
--SKIPIF--
|
|
<?php
|
|
$handler = "flatfile";
|
|
require_once(__DIR__ .'/skipif.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
require_once(__DIR__ .'/test.inc');
|
|
|
|
$db = dba_open($db_filename, 'c-', 'flatfile');
|
|
var_dump($db);
|
|
?>
|
|
--CLEAN--
|
|
<?php
|
|
require_once(__DIR__ .'/clean.inc');
|
|
?>
|
|
--EXPECTF--
|
|
resource(%d) of type (dba)
|