Skip to content

Commit 978f74a

Browse files
laruenceweltling
authored andcommitted
Request #69489
1 parent b4ca066 commit 978f74a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/php_open_temporary_file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, zend_strin
276276
fd = php_do_open_temporary_file(dir, pfx, opened_path_p);
277277
if (fd == -1) {
278278
/* Use default temporary directory. */
279+
php_error_docref(NULL, E_NOTICE, "file created in the system's temporary directory");
279280
goto def_tmp;
280281
}
281282
return fd;

0 commit comments

Comments
 (0)