xref: /PHP-7.4/ext/imap/tests/bug80226.phpt (revision 8488c34f)
1--TEST--
2Bug #80226 (imap_sort() leaks sortpgm memory)
3--SKIPIF--
4<?php
5require_once(__DIR__.'/skipif.inc');
6?>
7--FILE--
8<?php
9require_once(__DIR__.'/imap_include.inc');
10$stream = imap_open($default_mailbox, $username, $password);
11imap_sort($stream, SORTFROM, 0);
12?>
13--EXPECT--
14