0
|
1 --TEST--
|
|
2 Bug #8541 mimePart.php line delimiter is \r
|
|
3 --SKIPIF--
|
|
4 --FILE--
|
|
5 <?php
|
|
6 $mime = file_get_contents('Mail/mime.php', 1);
|
|
7 $mimePart = file_get_contents('Mail/mimePart.php', 1);
|
|
8 if (strpos($mime, "\r")){
|
|
9 print("\\r found in mime.php\n");
|
|
10 }elseif (strpos($mime, "\t")){
|
|
11 print("\\t found in mime.php\n");
|
|
12 }elseif (strpos($mimePart, "\r")){
|
|
13 print("\\r found in mimePart.php\n");
|
|
14 }elseif (strpos($mimePart, "\t")){
|
|
15 print("\\t found in mimePart.php\n");
|
|
16 }
|
|
17 print('OK');
|
|
18 --EXPECT--
|
|
19 OK
|