mirror of
https://github.com/php/php-src.git
synced 2024-10-01 23:06:11 +00:00
18 lines
223 B
Plaintext
18 lines
223 B
Plaintext
|
--TEST--
|
||
|
SQLite3 - memory leak on SQLite3Result and SQLite3Stmt
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
function test(&$x) {
|
||
|
$class = new SQLite3(':memory:');
|
||
|
$x = $class->prepare('SELECT 1');
|
||
|
}
|
||
|
|
||
|
test($foo);
|
||
|
|
||
|
echo "done\n";
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
done
|