xref: /php-src/ext/xml/tests/bug78563_final.phpt (revision 663536d7)
1--TEST--
2Bug #78563: parsers should not be extendable
3--EXTENSIONS--
4xml
5--FILE--
6<?php
7
8class Dummy extends Xmlparser {
9
10}
11
12?>
13===DONE===
14--EXPECTF--
15Fatal error: Class Dummy cannot extend final class XMLParser in %s on line %d
16