fclose

PHP 4, PHP 5, PHP 7, PHP 8
fclose - Closes an open file pointer
Manual
Code Examples

Example #1 A simple fclose example

PHP Version: