Download src/php/php-src/ext/pcre/tests/bug72463_2.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pcre/tests/bug72463_2.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pcre/tests/bug72463_2.phpt
-
curl -L -o bug72463_2.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pcre/tests/bug72463_2.phpt
435 Bytes
| --TEST-- | |
| Bug #72463 mail fails with invalid argument | |
| --SKIPIF-- | |
| if(substr(PHP_OS, 0, 3) != "WIN") { | |
| die('skip windows only'); | |
| } | |
| --INI-- | |
| SMTP=non.existent.smtp.server | |
| --FILE-- | |
| 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=== | |