xref: /PHP-7.0/ext/imap/tests/bug77020.phpt (revision 7edc639b)
1--TEST--
2Bug #77020 (null pointer dereference in imap_mail)
3--SKIPIF--
4<?php
5if (!extension_loaded('imap')) die('skip imap extension not available');
6?>
7--FILE--
8<?php
9imap_mail('1', 1, NULL);
10?>
11===DONE===
12--EXPECTF--
13Warning: imap_mail(): No message string in mail command in %s on line %d
14%s
15===DONE===
16