xref: /PHP-8.0/ext/xml/tests/bug78563_final.phpt (revision a55402d0)
1--TEST--
2Bug #78563: parsers should not be extendable
3--SKIPIF--
4<?php include("skipif.inc"); ?>
5--FILE--
6<?php
7
8class Dummy extends Xmlparser {
9
10}
11
12?>
13===DONE===
14--EXPECTF--
15Fatal error: Class Dummy may not inherit from final class (XMLParser) in %s on line %d
16