Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
php-8.3
/
share
/
test
/
DB
/
tests
/
driver
/
//proc/thread-self/root/opt/php-8.3/share/test/DB/tests/driver/21freeResult.phpt
--TEST-- DB_driver::freeResult --SKIPIF-- <?php require_once dirname(__FILE__) . '/skipif.inc'; ?> --FILE-- <?php require_once dirname(__FILE__) . '/mktable.inc'; $res = $dbh->query('SELECT * FROM phptest'); if (DB::isError($res)) { echo "Result is a DB_Error.\n"; drop_table($dbh, 'phptest'); exit; } if ($dbh->freeResult($res->result)) { echo "Result was freed successfully.\n"; } else { echo "Error freeing result.\n"; } drop_table($dbh, 'phptest'); ?> --EXPECT-- Result was freed successfully.