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 9@imap_mail('1', 1, NULL); 10echo 'done' 11?> 12--EXPECTF-- 13%Adone 14