Skip to content

Instantly share code, notes, and snippets.

@cmb69
Created March 28, 2019 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmb69/b031a57db039e154eee3a0021d1e3098 to your computer and use it in GitHub Desktop.
Save cmb69/b031a57db039e154eee3a0021d1e3098 to your computer and use it in GitHub Desktop.
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