mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
d30cd7d7e7
Closes GH-5590
13 lines
151 B
PHP
13 lines
151 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
|