SILENT KILLERPanel

Current Path: > > opt > > cloudlinux > alt-php70 > root > usr > share > pear > test > Mail_Mime > tests


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt//cloudlinux/alt-php70/root/usr/share/pear/test/Mail_Mime/tests

NameTypeSizeLast ModifiedActions
class-filename.phpt File 242 bytes December 02 2021 08:24:33.
content_transfer_encoding.phpt File 924 bytes December 02 2021 08:24:33.
encoding_case.phpt File 244 bytes December 02 2021 08:24:33.
headers_with_mbstring.phpt File 8855 bytes December 02 2021 08:24:33.
headers_without_mbstring.phpt File 8517 bytes December 02 2021 08:24:33.
qp_encoding_test.phpt File 3557 bytes December 02 2021 08:24:33.
sleep_wakeup_EOL-bug3488-part1.phpt File 545 bytes December 02 2021 08:24:33.
sleep_wakeup_EOL-bug3488-part2.phpt File 586 bytes December 02 2021 08:24:33.
test_Bug_10596_1.phpt File 296 bytes December 02 2021 08:24:33.
test_Bug_10816_1.phpt File 570 bytes December 02 2021 08:24:33.
test_Bug_10999_1.phpt File 491 bytes December 02 2021 08:24:33.
test_Bug_11381.phpt File 557 bytes December 02 2021 08:24:33.
test_Bug_11731.phpt File 684 bytes December 02 2021 08:24:33.
test_Bug_12165.phpt File 381 bytes December 02 2021 08:24:33.
test_Bug_12385_1.phpt File 539 bytes December 02 2021 08:24:33.
test_Bug_12411.phpt File 649 bytes December 02 2021 08:24:33.
test_Bug_12466.phpt File 445 bytes December 02 2021 08:24:33.
test_Bug_13032.phpt File 539 bytes December 02 2021 08:24:33.
test_Bug_13444.phpt File 670 bytes December 02 2021 08:24:33.
test_Bug_13962.phpt File 367 bytes December 02 2021 08:24:33.
test_Bug_14529.phpt File 521 bytes December 02 2021 08:24:33.
test_Bug_14779.phpt File 489 bytes December 02 2021 08:24:33.
test_Bug_14780.phpt File 351 bytes December 02 2021 08:24:33.
test_Bug_15320.phpt File 462 bytes December 02 2021 08:24:33.
test_Bug_16539.phpt File 7513 bytes December 02 2021 08:24:33.
test_Bug_17025.phpt File 412 bytes December 02 2021 08:24:33.
test_Bug_17175.phpt File 695 bytes December 02 2021 08:24:33.
test_Bug_18083.phpt File 592 bytes December 02 2021 08:24:33.
test_Bug_18772.phpt File 880 bytes December 02 2021 08:24:33.
test_Bug_19497.phpt File 547 bytes December 02 2021 08:24:33.
test_Bug_20226.phpt File 341 bytes December 02 2021 08:24:33.
test_Bug_20273.phpt File 302 bytes December 02 2021 08:24:33.
test_Bug_20563.phpt File 378 bytes December 02 2021 08:24:33.
test_Bug_20564.phpt File 270 bytes December 02 2021 08:24:33.
test_Bug_21027.phpt File 7295 bytes December 02 2021 08:24:33.
test_Bug_21098.phpt File 390 bytes December 02 2021 08:24:33.
test_Bug_21205.phpt File 1310 bytes December 02 2021 08:24:33.
test_Bug_21206.phpt File 590 bytes December 02 2021 08:24:33.
test_Bug_21255.phpt File 352 bytes December 02 2021 08:24:33.
test_Bug_3513_1.phpt File 475 bytes December 02 2021 08:24:33.
test_Bug_3513_2.phpt File 567 bytes December 02 2021 08:24:33.
test_Bug_3513_3.phpt File 631 bytes December 02 2021 08:24:33.
test_Bug_7561_1.phpt File 645 bytes December 02 2021 08:24:33.
test_Bug_8386_1.phpt File 551 bytes December 02 2021 08:24:33.
test_Bug_8541_1.phpt File 499 bytes December 02 2021 08:24:33.
test_Bug_9722_1.phpt File 360 bytes December 02 2021 08:24:33.
test_Bug_GH16.phpt File 1602 bytes December 02 2021 08:24:33.
test_Bug_GH19.phpt File 997 bytes December 02 2021 08:24:33.
test_Bug_GH26.phpt File 755 bytes December 02 2021 08:24:33.
test_linebreak_dot.phpt File 1688 bytes December 02 2021 08:24:33.
test_linebreak_larger_76.phpt File 2307 bytes December 02 2021 08:24:33.

Reading File: //opt//cloudlinux/alt-php70/root/usr/share/pear/test/Mail_Mime/tests/test_linebreak_dot.phpt

--TEST--
Test for correct "." encoding when doing linebreaks
--SKIPIF--
--FILE--
<?php
error_reporting(E_ALL); // ignore E_STRICT
include("Mail/mime.php");
$text     = '0123456789012345678901234567890123456789012345678901234567890123456789012...6';
$params   = Array(
    'content_type' => 'text/plain',
    'encoding'     => 'quoted-printable',
);

for ($i=74; $i <= strlen($text); $i++) {
    $input = substr($text, 0, $i);
    $mimePart = new Mail_mimePart($input, $params);
    $encoded  =  $mimePart->encode();
    $output = $encoded['body'];
    printf("input: %02d: %s\n", strlen($input), $input);

    $lines = explode("\r\n", $output);
    for($j=0; $j < count($lines); $j++) {
        $line = $lines[$j];
        if ($j + 1 < count($lines)) {
            $line_vis = $line.'\r\n';
        } else {
            $line_vis = $line;
        }
        printf("output:%02d: %s\n", strlen($line), $line_vis);
    }

    print("---\n");

}
--EXPECT--
input: 74: 0123456789012345678901234567890123456789012345678901234567890123456789012.
output:74: 0123456789012345678901234567890123456789012345678901234567890123456789012.
---
input: 75: 0123456789012345678901234567890123456789012345678901234567890123456789012..
output:75: 0123456789012345678901234567890123456789012345678901234567890123456789012..
---
input: 76: 0123456789012345678901234567890123456789012345678901234567890123456789012...
output:76: 0123456789012345678901234567890123456789012345678901234567890123456789012...
---
input: 77: 0123456789012345678901234567890123456789012345678901234567890123456789012...6
output:76: 0123456789012345678901234567890123456789012345678901234567890123456789012..=\r\n
output:04: =2E6
---

SILENT KILLER Tool