xref: /PHP-5.4/Zend/tests/traits/error_005.phpt (revision 6e8db0b3)
1--TEST--
2Trying to use a final class as trait
3--FILE--
4<?php
5
6final class abc {
7}
8
9class A {
10	use abc;
11}
12
13?>
14--EXPECTF--
15Fatal error: A cannot use abc - it is not a trait in %s on line %d
16