2009-08-10 6 views

답변

1

예, 단순히 결과 개체를 unset()합니다. 결과 개체는 다음과 같이 호출합니다.

// $result now holds a Datbase_Result object 
$result = Database::instance()->query('SELECT * FROM table'); 

// To free the result, simply destroy the variable through means of unset() 
unset($result); 

// Result memory has now been freed 
관련 문제