mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
20 lines
380 B
PHP
20 lines
380 B
PHP
--TEST--
|
|
SQLite3::open test with empty string argument via the constructor
|
|
--CREDITS--
|
|
Thijs Feryn <thijs@feryn.eu>
|
|
#TestFest PHPBelgium 2009
|
|
--SKIPIF--
|
|
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
try{
|
|
$db = new SQLite3('');
|
|
} catch(Exception $e) {
|
|
echo $e->getMessage().PHP_EOL;
|
|
}
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Unable to expand filepath
|
|
Done
|