1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 22:52:40 +02:00
Files
archived-php-src/Zend/tests/traits/error_009.phpt
Felipe Pena 6e8db0b35a - New tests
2010-05-04 19:06:13 +00:00

13 lines
176 B
PHP

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