1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/sqlite3/tests/sqlite3_02_open.phpt
Gabriel Caruso 4aabfe911e Revert "Update versions for PHP 8.0.21"
This reverts commit 6eedacdf15.
2022-07-06 12:06:48 +02:00

20 lines
368 B
PHP

--TEST--
SQLite3::open test, testing for function parameters
--CREDITS--
Felix De Vliegher
# Belgian PHP Testfest 2009
--SKIPIF--
<?php require_once(__DIR__ . '/skipif.inc'); ?>
--FILE--
<?php
try {
$db = new SQLite3();
} catch (TypeError $e) {
var_dump($e->getMessage());
}
?>
--EXPECT--
string(59) "SQLite3::__construct() expects at least 1 argument, 0 given"