php-src/ext/sqlite3/tests/sqlite3_prepare_001.phpt
Max Semenik 7f2f0c007c Migrate skip checks to --EXTENSIONS--, p4
For rationale, see #6787

Extensions migrated in part 4:
* simplexml
* skeleton
* soap
* spl
* sqlite3
* sysvmsg
* sysvsem
* tidy - also removed a check for an ancient dependency version
2021-04-08 10:36:44 +02:00

19 lines
251 B
PHP

--TEST--
SQLite3 - memory leak on SQLite3Result and SQLite3Stmt
--EXTENSIONS--
sqlite3
--FILE--
<?php
function test(&$x) {
$class = new SQLite3(':memory:');
$x = $class->prepare('SELECT 1');
}
test($foo);
echo "done\n";
?>
--EXPECT--
done