1--TEST--
2Using "_" as a trait name is deprecated
3--FILE--
4<?php
5
6namespace Foo\Bar {
7    trait _ {}
8}
9
10namespace {
11    trait _ {}
12}
13
14?>
15--EXPECTF--
16Deprecated: Using "_" as a trait name is deprecated since 8.4 in %s on line %d
17
18Deprecated: Using "_" as a trait name is deprecated since 8.4 in %s on line %d
19