MDBTools driver needs you to properly free up a result_id before reusing a variable.An odbc_fetch_array() over a overwritten variable with a new result will crash the script with a Segmentation fault if the previous resource wasn't free'd up.PHP 5.6
(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_free_result — Liberar los recursos asociados con un resultado
Libera los recursos asociados con un resultado.
odbc_free_result() sólo necesita ser llamado si se tiene preocupación de usar demasiada memoria mientras se está ejecutando el script. Toda la memoria de resultados será liberada cuando el script finalice.
result_id
El identificador de resultado.
Siempre devuelve true
.
Nota:
Si el auto-envío está deshabilitado (véase odbc_autocommit()) y se llama a odbc_free_result() antes del envío, todas las transacciones pendientes serán reanudadas.
MDBTools driver needs you to properly free up a result_id before reusing a variable.An odbc_fetch_array() over a overwritten variable with a new result will crash the script with a Segmentation fault if the previous resource wasn't free'd up.PHP 5.6