xref: /PHP-7.4/ext/pcre/tests/bug72463_2.phpt (revision 26635ed7)
1--TEST--
2Bug #72463 mail fails with invalid argument
3--SKIPIF--
4<?php
5if(substr(PHP_OS, 0, 3) != "WIN") {
6	die('skip windows only');
7}
8?>
9--INI--
10SMTP=non.existent.smtp.server
11--FILE--
12<?php
13
14mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", "");
15mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
16
17?>
18===DONE===
19--EXPECTREGEX--
20.*===DONE===
21