Added test for #60104

This commit is contained in:
Patrick Allaert committed 2011-11-04 19:13:37 +00:00
1 parent 0a2bf3ee32
commit 9da01ac6b6
1 file changed
+23
+23
View File
@@ -0,0 +1,23 @@
--TEST--
Bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction())
--XFAIL--
see bug #60104, not fix yet
--SKIPIF--
<?php
if (!extension_loaded('pdo_sqlite')) print 'skip not loaded';
?>
--FILE--
<?php
function setUp()
{
$handler = new PDO( "sqlite::memory:" );
$handler->sqliteCreateFunction( "md5", "md5", 1 );
unset( $handler );
}
setUp();
setUp();
echo "done";
?>
--EXPECTF--
done