--TEST-- Bug #80438: imap_msgno() incorrectly warns and return false on valid UIDs in PHP 8.0.0 --EXTENSIONS-- imap --SKIPIF-- --FILE-- --CLEAN-- --EXPECT-- Create a temporary mailbox and add 10 msgs New mailbox created Delete 4 messages for Unique ID generation array(6) { [0]=> int(1) [1]=> int(2) [2]=> int(7) [3]=> int(8) [4]=> int(9) [5]=> int(10) } Unique ID: int(1) Ordered message number: int(1) Unique ID: int(2) Ordered message number: int(2) Unique ID: int(7) Ordered message number: int(3) Unique ID: int(8) Ordered message number: int(4) Unique ID: int(9) Ordered message number: int(5) Unique ID: int(10) Ordered message number: int(6)