1--TEST--
2Traits and forward_static_call().
3--CREDITS--
4Simas Toleikis simast@gmail.com
5--FILE--
6<?php
7
8	trait TestTrait {
9		public static function test() {
10			return 'Forwarded '.forward_static_call(array('A', 'test'));
11		}
12	}
13
14	class A {
15		public static function test() {
16			return "Test A";
17		}
18	}
19
20	class B extends A {
21		use TestTrait;
22	}
23
24	echo B::test();
25
26?>
27--EXPECT--
28Forwarded Test A