📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 01:05:22
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php85-pecl-imap_1.0.3-2.el8
/
tests
📍 /opt/alt/tests/alt-php85-pecl-imap_1.0.3-2.el8/tests
🔄 Refresh
✏️
Editing: bug45705_2.phpt
Read Only
--TEST-- Bug #45705 test #2 (imap rfc822_parse_adrlist() modifies passed address parameter) --EXTENSIONS-- imap --FILE-- <?php $envelope = array('return_path' => 'John Doe <john@example.com>', 'from' => 'John Doe <john@example.com>', 'reply_to' => 'John Doe <john@example.com>', 'to' => 'John Doe <john@example.com>', 'cc' => 'John Doe <john@example.com>', 'bcc' => 'John Doe <john@example.com>', ); var_dump($envelope); imap_mail_compose($envelope, [1 => ['cc' => 'Steve Doe <steve@example.com>',]]); var_dump($envelope); ?> --EXPECT-- array(6) { ["return_path"]=> string(27) "John Doe <john@example.com>" ["from"]=> string(27) "John Doe <john@example.com>" ["reply_to"]=> string(27) "John Doe <john@example.com>" ["to"]=> string(27) "John Doe <john@example.com>" ["cc"]=> string(27) "John Doe <john@example.com>" ["bcc"]=> string(27) "John Doe <john@example.com>" } array(6) { ["return_path"]=> string(27) "John Doe <john@example.com>" ["from"]=> string(27) "John Doe <john@example.com>" ["reply_to"]=> string(27) "John Doe <john@example.com>" ["to"]=> string(27) "John Doe <john@example.com>" ["cc"]=> string(27) "John Doe <john@example.com>" ["bcc"]=> string(27) "John Doe <john@example.com>" }
💾 Save Changes
❌ Cancel