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 15ff830 commit 06d87e4Copy full SHA for 06d87e4
ext/imap/tests/bug77020.phpt
@@ -2,8 +2,13 @@
2
Bug #77020 (null pointer dereference in imap_mail)
3
--EXTENSIONS--
4
imap
5
+--INI--
6
+sendmail_path="echo >/dev/null"
7
--FILE--
8
<?php
9
+// For Windows, set it to a string of length HOST_NAME_LEN (256) so the mail is not actually sent
10
+ini_set("SMTP", str_repeat("A", 256));
11
+
12
@imap_mail('1', 1, NULL);
13
echo 'done'
14
?>
0 commit comments