msql_free_result

(PHP 4, PHP 5, PHP 7)

msql_free_resultFree result memory

说明

msql_free_result ( resource $result ) : bool

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

关注编程学问公众号