mysqli_result::free
(PHP 5, PHP 7, PHP 8)
mysqli_result::free -- mysqli_result::close -- mysqli_result::free_result -- mysqli_free_result — 결과와 관련된 메모리를 해제
설명
객체 지향 스타일
public mysqli_result::free(): void
public mysqli_result::close(): void
public mysqli_result::free_result(): void
절차적 스타일
mysqli_free_result(mysqli_result $result
): void
결과와 관련된 메모리를 해제합니다.
매개변수
result
- 절차적 스타일 전용: mysqli_query(), mysqli_store_result(), mysqli_use_result() 또는 mysqli_stmt_get_result()에 의해 반환된 mysqli_result 객체.
반환 값
값이 반환되지 않습니다.
기타
- mysqli_query() - 데이터베이스에 대한 쿼리를 수행합니다.
- mysqli_stmt_get_result() - 준비된 명령문에서 결과 세트를 mysqli_result 객체로 가져옵니다.
- mysqli_store_result() - 마지막 쿼리의 결과 집합을 전송합니다.
- mysqli_use_result() - 결과 집합 검색 시작