mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
9 lines
185 B
PHP
9 lines
185 B
PHP
--TEST--
|
|
WeakReference no inheritance
|
|
--FILE--
|
|
<?php
|
|
class Test extends WeakReference {}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Class Test cannot extend final class WeakReference in %s on line %d
|