PATH:
opt
/
alt
/
tests
/
alt-php84-pecl-mailparse_3.2.0-1.el8
/
tests
--TEST-- GH issue #43 memory leak --SKIPIF-- <?php if (!extension_loaded("mailparse")) die("skip mailparse extension not available"); ?> --FILE-- <?php $i = 0; while ($i++ < 10) { $email = <<<BLAH Date: Tue, 23 Sep 2025 04:35:00 -0700 From: example <ex@example.org> To: ex@example.org <ex@example.org> Message-ID: <exxxample@example.org> Subject: Example Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_68d285e4767a2_ac0410d85518c"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_68d285e4767a2_ac0410d85518c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit sss ----==_mimepart_68d285e4767a2_ac0410d85518c-- BLAH; $a = mailparse_msg_create(); mailparse_msg_parse($a, $email); mailparse_msg_free($a); } ?> ok --EXPECTF-- ok
[-] 003.phpt
[edit]
[-] gh19.phpt
[edit]
[-] gh20.phpt
[edit]
[-] 005.phpt
[edit]
[-] 012.phpt
[edit]
[-] gh21.phpt
[edit]
[-] bug81403.phpt
[edit]
[-] bug75825.phpt
[edit]
[-] parse_test_messages.phpt
[edit]
[-] gh22.phpt
[edit]
[-] gh44.phpt
[edit]
[+]
..
[-] 007.phpt
[edit]
[-] gh43.phpt
[edit]
[-] 012-var.phpt
[edit]
[-] 004.phpt
[edit]
[-] 010.phpt
[edit]
[-] 008.phpt
[edit]
[-] 006.phpt
[edit]
[-] gh29.phpt
[edit]
[-] 002.phpt
[edit]
[-] 012-stream.phpt
[edit]
[-] 013.phpt
[edit]
[-] gh24.phpt
[edit]
[+]
testdata
[-] 001.phpt
[edit]
[-] 011.phpt
[edit]
[-] bug001.phpt
[edit]
[-] 009.phpt
[edit]
[-] bug81422.phpt
[edit]
[-] gh30.phpt
[edit]
[-] bug73110.phpt
[edit]
[-] bug74223.phpt
[edit]