PHP - Manual: msql_free_result
2024-12-22
(PHP 4, PHP 5, PHP 7)
msql_free_result — Free result memory
$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.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
官方地址:https://www.php.net/manual/en/function.msql-free-result.php