dis-bench / src /php /php-src /ext /pdo_sqlite /tests /bug60104.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
325 Bytes
--TEST--
Bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction())
--EXTENSIONS--
pdo_sqlite
--FILE--
<?php
function setUp()
{
$handler = new PDO( "sqlite::memory:" );
$handler->sqliteCreateFunction( "md5", "md5", 1 );
unset( $handler );
}
setUp();
setUp();
echo "done";
?>
--EXPECT--
done