(PECL maxdb >= 1.0)
maxdb_free_result -- maxdb_result::free — Frees the memory associated with a result
过程化风格
面向对象风格
The maxdb_free_result() function frees the memory associated with the result represented by the result parameter, which was allocated by maxdb_query(), maxdb_store_result() or maxdb_use_result().
Note:
You should always free your result with maxdb_free_result(), when your result resource is not needed anymore.
This function doesn't return any value.