view vendor/pear/mail_mime/tests/test_Bug_9722_1.phpt @ 45:e11491f625b0

add info action, one 7.3 -> 8.4 nit
author Charlie Root
date Thu, 28 Aug 2025 10:40:29 -0400
parents 1e000243b222
children
line wrap: on
line source

--TEST--
Bug #9722   quotedPrintableEncode does not encode dot at start of line on Windows platform
--SKIPIF--
--FILE--
<?php
include("Mail/mimePart.php");
$text = "This
is a
test
...
    It is 
//really fun//
to make :(";

print_r(Mail_mimePart::quotedPrintableEncode($text, 76, "\n"));

--EXPECT--
This
is a
test
=2E..
    It is=20
//really fun//
to make :(