Skip to content

Instantly share code, notes, and snippets.

@cmb69 cmb69/.patch
Created Mar 28, 2019

Embed
What would you like to do?
mail_basic.phpt for Windows
ext/standard/tests/mail/mail_basic.phpt | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/ext/standard/tests/mail/mail_basic.phpt b/ext/standard/tests/mail/mail_basic.phpt
index ddc5571c7e..3e530682f9 100644
--- a/ext/standard/tests/mail/mail_basic.phpt
+++ b/ext/standard/tests/mail/mail_basic.phpt
@@ -1,13 +1,8 @@
--TEST--
Test mail() function : basic functionality
--INI--
-sendmail_path=tee mailBasic.out >/dev/null
+sendmail_path=tee mailBasic.out > NUL
mail.add_x_header = Off
---SKIPIF--
-<?php
-if(substr(PHP_OS, 0, 3) == "WIN")
- die("skip Won't run on Windows");
-?>
--FILE--
<?php
/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.