I have tried googling this, tried reading the PHP manual for fclose(), but I can't find the answer to this question.
Say I have a PHP file with 2 functions: function A and function B. I fopen() a file pointer in function A:
$filepointer = fopen( $file, 'w');
Let's say I DON'T fclose() the file pointer in function A, but function A reaches its end naturally.
Now I'm in function B. Is the file pointer still available in function B ?