1--TEST--
2__TRAIT__: Use outside of traits.
3--FILE--
4<?php
5
6	class MyClass {
7		static function test() {
8		  return __TRAIT__;
9		}
10	}
11
12	function someFun() {
13	  return __TRAIT__;
14	}
15
16
17	$t = __TRAIT__;
18	var_dump($t);
19	$t = MyClass::test();
20	var_dump($t);
21	$t = someFun();
22	var_dump($t);
23?>
24--EXPECT--
25string(0) ""
26string(0) ""
27string(0) ""