php-src/ext/sqlite3/tests/sqlite3_prepare_with_empty_string.phpt
2016-09-03 00:56:09 +02:00

16 lines
305 B
PHP

--TEST--
SQLite3::prepare test with empty string argument
--CREDITS--
Thijs Feryn <thijs@feryn.eu>
#TestFest PHPBelgium 2009
--SKIPIF--
<?php require_once(__DIR__ . '/skipif.inc'); ?>
--FILE--
<?php
$db = new SQLite3(':memory:');
var_dump($db->prepare(''));
echo "Done\n";
?>
--EXPECTF--
bool(false)
Done