⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
cwp
/
php
/
lib
/
php
/
test
/
Mail_Mime
/
tests
/
View File Name :
test_Bug_7561_1.phpt
--TEST-- Bug #7561 Mail_mimePart::quotedPrintableEncode() misbehavior with mbstring overload --INI-- mbstring.language=Neutral mbstring.func_overload=6 mbstring.internal_encoding=UTF-8 mbstring.http_output=UTF-8 --SKIPIF-- <?php include "PEAR.php"; if (!extension_loaded('mbstring')){ if (!PEAR::loadExtension('mbstring')){ print('SKIP could not load mbstring module'); } } --FILE-- <?php include("Mail/mimePart.php"); // string is UTF-8 encoded $input = "Micha\xC3\xABl \xC3\x89ric St\xC3\xA9phane"; $rv = Mail_mimePart::quotedPrintableEncode($input, 76, "\n"); echo $rv, "\n"; --EXPECT-- Micha=C3=ABl =C3=89ric St=C3=A9phane