PHP Australia Conference 2015

msql_free_result

(PHP 4, PHP 5)

msql_free_resultFree result memory

说明

bool msql_free_result ( resource $result )

msql_free_result() frees the memory associated with query_identifier. When PHP completes a request, this memory is freed automatically, so you only need to call this function when you want to make sure you don't use too much memory while the script is running.

参数

result

resource 型的结果集。此结果集来自对 msql_query() 的调用。

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top