2009-08-10 3 views

Antwort

1

Ja, einfach unset() das Ergebnisobjekt. Das Ergebnisobjekt ruft dann ()

z.

// $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