Closes file handle and frees file resources.
|
Bool i5_free_file |
( resource file ) |
Frees i5_open opened file resources and closes it on I5
|
file |
I5 file resource |
Additional functions to the existing API.
Returns:
True if OK, false if failed.
|
I5_ERR_PHP_HDLDFT |
256 |
No default connection found. |
|
I5_ERR_PHP_OPTIONSTYPE |
259 |
The type of " I5_OPTIONS_ALIAS" option must be x and not x |
|
I5_ERR_PHP_OPTIONSNUMBER |
260 |
Option number -1 is unknown. |
|
I5_ERR_PHP_TYPEPARAM |
262 |
Type of element x in parameter -1 must be y. Type z was provided. |
|
I5_ERR_PHP_CALL_BINDPARAM |
274 |
The I5_bind_result function can be called only once |
$file_client = i5_open("PROD/CLIENTS");
[... treatments ...]
$ferme = i5_free_file($file_client);
if ($ferme) {
echo "Closing successful";}