File manager - Edit - /opt/alt/tests/alt-php85-pecl-imap_1.0.3-2.el8/tests/bug75774.phpt
Back
--TEST-- Bug #75774 imap_append HeapCorruction --EXTENSIONS-- imap --FILE-- <?php $fn = __DIR__ . DIRECTORY_SEPARATOR . "foo75774"; $var1 = fopen($fn, "w"); try { imap_append($var1, "", "", "", ""); } catch (\TypeError $e) { echo $e->getMessage() . "\n"; } fclose($var1); unlink($fn); ?> --EXPECT-- imap_append(): Argument #1 ($imap) must be of type IMAP\Connection, resource given
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings