We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4afc0 commit d2ec5beCopy full SHA for d2ec5be
ext/standard/tests/mail/gh7875.phpt
@@ -1,5 +1,16 @@
1
--TEST--
2
GH-7875 (mails are sent even if failure to log throws exception)
3
+--SKIPIF--
4
+<?php
5
+$filename = __DIR__ . "/gh7875.mail.log";
6
+touch($filename);
7
+chmod($filename, 0444);
8
+clearstatcache();
9
+$is_writable = is_writable($filename);
10
+chmod($filename, 0644);
11
+unlink($filename);
12
+if ($is_writable) die("skip cannot make file read-only");
13
+?>
14
--INI--
15
sendmail_path={MAIL:{PWD}/gh7875.mail.out}
16
mail.log={PWD}/gh7875.mail.log
0 commit comments