1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-php-src/ext/dba/tests/bug49125.phpt
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

31 lines
437 B
PHP

--TEST--
Bug #49125 (Error in dba_exists C code)
--SKIPIF--
<?php
$handler = 'db4';
require_once(__DIR__ .'/skipif.inc');
?>
--FILE--
<?php
error_reporting(E_ALL);
$handler = 'db4';
require_once(__DIR__ .'/test.inc');
$db = dba_popen($db_filename, 'c', 'db4');
dba_insert('foo', 'foo', $db);
var_dump(dba_exists('foo', $db));
dba_close($db);
?>
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
?>
--EXPECT--
bool(true)