1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00
Files
archived-php-src/ext/standard/tests/class_object/bug78638.phpt
2021-07-27 09:42:37 +02:00

10 lines
267 B
PHP

--TEST--
FR: #78638 (__PHP_Incomplete_Class should be final)
--FILE--
<?php
$c = new class('bar') extends __PHP_Incomplete_Class {
};
?>
--EXPECTF--
Fatal error: Class __PHP_Incomplete_Class@anonymous cannot extend final class __PHP_Incomplete_Class in %s on line %d