1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 08:42:29 +01:00

Added test for #60104

This commit is contained in:
Patrick Allaert
2011-11-04 19:13:37 +00:00
parent 0a2bf3ee32
commit 9da01ac6b6

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