summaryrefslogtreecommitdiff
path: root/ext/standard/tests/mail/bug69115.phpt
blob: f81d32403eb12a4a4aacb2741babc6fe3708d160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Bug #69115 crash in mail (plus indirect pcre test)
--SKIPIF--
<?php
if( substr(PHP_OS, 0, 3) != 'WIN' ) {
   die('skip...Windows only test');
}
?>
--INI--
SMTP =
smtp_port =
--FILE--
<?php
/* Just ensure it doesn't crash when trimming headers */
$message = "Line 1\r\nLine 2\r\nLine 3";
mail('user@example.com', 'My Subject', $message, "From: me@me.me");
?>
===DONE===
--EXPECTREGEX--
.*
===DONE===