mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 09:17:29 +00:00
Added test for #60104
This commit is contained in:
1 parent
0a2bf3ee32
commit
9da01ac6b6
1 file changed
+23
@@ -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
|
||||
Reference in new issue
Block a user