[php-src] PR #12067: Fix bug #60110 (fclose(), file_put_contents(), copy() do not return false properly)
| From: | bukka | Date: | Mon, 28 Aug 2023 15:55:17 +0000 |
| Subject: | [php-src] PR #12067: Fix bug #60110 (fclose(), file_put_contents(), copy() do not return false properly) | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23504@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12067
Author: bukka
This PR changes the return value to false if the flush operation fails. That introduces possibility
to check if those operations have been executed correctly which wasn't previously possible.