xref: /PHP-8.4/ext/gmp/tests/final.phpt (revision a50adda1)
1--TEST--
2Cannot extend GMP class
3--EXTENSIONS--
4gmp
5--FILE--
6<?php
7
8class T extends GMP {}
9
10?>
11--EXPECTF--
12Fatal error: Class T cannot extend final class GMP in %s on line %d
13