mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

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
19 lines
251 B
PHP
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
|