PATH:
opt
/
alt
/
tests
/
alt-php81-pecl-mailparse_3.1.8-1.el8
/
tests
--TEST-- GH issue #24 (Segmentation fault with mailparse_msg_create()) --SKIPIF-- <?php if (!extension_loaded("mailparse")) die("skip mailparse extension not available"); ?> --FILE-- <?php $data = <<<'EML' Content-Type: multipart/mixed; boundary="MCBoundary=_12210121514003461" --MCBoundary=_12210121514003461 Content-Type: message/rfc822 Content-Type: multipart/alternative; boundary="MCBoundary=_12210121514003451" --MCBoundary=_12210121514003451 Content-Type: text/plain; content --MCBoundary=_12210121514003451-- --MCBoundary=_12210121514003461-- EML; $resource = mailparse_msg_create(); $r = @mailparse_msg_parse($resource, $data); echo 'ok', PHP_EOL; exit(0); ?> --EXPECTF-- ok
[-] 003.phpt
[edit]
[-] 011.phpt
[edit]
[-] bug001.phpt
[edit]
[-] bug81403.phpt
[edit]
[-] 008.phpt
[edit]
[-] 012-var.phpt
[edit]
[-] gh24.phpt
[edit]
[-] gh30.phpt
[edit]
[-] 005.phpt
[edit]
[-] bug73110.phpt
[edit]
[-] bug74223.phpt
[edit]
[-] gh29.phpt
[edit]
[-] 012.phpt
[edit]
[-] gh19.phpt
[edit]
[-] parse_test_messages.phpt
[edit]
[-] gh21.phpt
[edit]
[+]
..
[-] gh22.phpt
[edit]
[-] bug81422.phpt
[edit]
[-] 007.phpt
[edit]
[-] 002.phpt
[edit]
[-] 009.phpt
[edit]
[-] 006.phpt
[edit]
[-] bug75825.phpt
[edit]
[-] 010.phpt
[edit]
[+]
testdata
[-] 012-stream.phpt
[edit]
[-] 013.phpt
[edit]
[-] 004.phpt
[edit]
[-] 001.phpt
[edit]