xref: /PHP-8.3/ext/pdo_sqlite/tests/bug60104.phpt (revision 74859783)
1--TEST--
2Bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction())
3--EXTENSIONS--
4pdo_sqlite
5--FILE--
6<?php
7function setUp()
8{
9    $handler = new PDO( "sqlite::memory:" );
10    $handler->sqliteCreateFunction( "md5", "md5", 1 );
11    unset( $handler );
12}
13
14setUp();
15setUp();
16echo "done";
17?>
18--EXPECT--
19done
20