Annotation of embedaddon/php/ext/sqlite3/tests/sqlite3_prepare_001.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: SQLite3 - memory leak on SQLite3Result and SQLite3Stmt
        !             3: --SKIPIF--
        !             4: <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
        !             5: --FILE--
        !             6: <?php
        !             7: 
        !             8: function test(&$x) {
        !             9:        $class = new SQLite3(':memory:');
        !            10:        $x = $class->prepare('SELECT 1');
        !            11: }
        !            12: 
        !            13: test($foo);
        !            14: 
        !            15: echo "done\n";
        !            16: 
        !            17: ?>
        !            18: --EXPECTF--
        !            19: done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>