1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/traits/error_009.phpt
2021-07-27 09:42:37 +02:00

13 lines
171 B
PHP

--TEST--
Trying to extend a trait
--FILE--
<?php
trait abc { }
class foo extends abc { }
?>
--EXPECTF--
Fatal error: Class foo cannot extend trait abc in %s on line %d