php-src/ext/sqlite3/tests/sqlite3_open_empty_string.phpt

20 lines
380 B
Plaintext
Raw Normal View History

2009-05-17 16:51:22 +00:00
--TEST--
SQLite3::open test with empty string argument via the constructor
--CREDITS--
Thijs Feryn <thijs@feryn.eu>
#TestFest PHPBelgium 2009
2009-05-22 18:22:15 +00:00
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
2009-05-17 16:51:22 +00:00
--FILE--
<?php
try{
$db = new SQLite3('');
} catch(Exception $e) {
echo $e->getMessage().PHP_EOL;
}
echo "Done\n";
?>
--EXPECTF--
Unable to expand filepath
Done