xref: /PHP-8.2/ext/imap/tests/imap_final.phpt (revision 663536d7)
1--TEST--
2Check that IMAP\Connection is declared final
3--EXTENSIONS--
4imap
5--FILE--
6<?php
7
8class T extends IMAP\Connection {}
9--EXPECTF--
10Fatal error: Class T cannot extend final class IMAP\Connection in %s on line %d
11