summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/bug72463_2.phpt
blob: 1baeb0f2a1154f8e29b3826615d859bfeccb4daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Bug #72463 mail fails with invalid argument
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) != "WIN") {
	die('skip windows only');
}
?>
--INI--
SMTP=non.existent.smtp.server
--FILE--
<?php

mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", "");
mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);

?>
===DONE===
--EXPECTREGEX--
.*===DONE===