xref: /PHP-7.4/ext/pcre/tests/bug72463.phpt (revision ff7c981d)
1--TEST--
2Bug #72463 mail fails with invalid argument
3--SKIPIF--
4<?php
5if(substr(PHP_OS, 0, 3) == "WIN") {
6	die('skip not for windows');
7}
8?>
9--INI--
10sendmail_path="echo >/dev/null"
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