mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
13 lines
148 B
PHP
13 lines
148 B
PHP
--TEST--
|
|
Trying to use an undefined trait
|
|
--FILE--
|
|
<?php
|
|
|
|
class A {
|
|
use abc;
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Trait 'abc' not found in %s on line %d
|