dis-bench / src /php /php-src /ext /pcre /tests /bug72463_2.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
435 Bytes
--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===