D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
php82
/
usr
/
share
/
pear
/
test
/
Mail_Mime
/
tests
/
Filename :
test_Bug_20564.phpt
back
Copy
--TEST-- Bug #20564 Unsetting headers --SKIPIF-- --FILE-- <?php include("Mail/mime.php"); $mime = new Mail_mime; $mime->setSubject('test'); $headers = $mime->headers(array('Subject' => null), true); echo array_key_exists('Subject', $headers) ? '1' : '0'; --EXPECT-- 0