mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
20 lines
292 B
PHP
20 lines
292 B
PHP
--TEST--
|
|
SQLite3 - memory leak on SQLite3Result and SQLite3Stmt
|
|
--SKIPIF--
|
|
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
function test(&$x) {
|
|
$class = new SQLite3(':memory:');
|
|
$x = $class->prepare('SELECT 1');
|
|
}
|
|
|
|
test($foo);
|
|
|
|
echo "done\n";
|
|
|
|
?>
|
|
--EXPECTF--
|
|
done
|