PHP  
 PHP_7_3
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/imap/tests/bug64076.phpt ('Bug #64076 (imap_sort() does not return FALSE on failure)')

Script

1: <?php
2:
require_once __DIR__ '/imap_include.inc';
3:
$stream setup_test_mailbox(''2);
4:
imap_errors(); // clear error stack
5:
var_dump(imap_sort($streamSORTFROM00'UNSUPPORTED SEARCH CRITERIUM'));
6:
var_dump(imap_errors() !== false);
7:
?>
8:

Expected

Create a temporary mailbox and add 2 msgs
.. mailbox '{127.0.0.1:143/norsh}INBOX.phpttest' created
bool(false)
bool(true)

Output

Create a temporary mailbox and add 2 msgs
.. mailbox '{127.0.0.1/norsh}INBOX.phpttest' created
bool(false)
bool(true)

Diff

002+ .. mailbox '{127.0.0.1/norsh}INBOX.phpttest' created
002- .. mailbox '{127.0.0.1:143/norsh}INBOX.phpttest' created

 

Generated at Fri, 03 Dec 2021 18:13:45 +0000 (28 hours ago)

Copyright © 2005-2021 The PHP Group
All rights reserved.