略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: msql_free_result

2024-12-23

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.msql-free-result.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3