projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ccdadaf0518f44a9f2a91a0425f3776a7a941ac0
[yaffs-website]
/
Tests
/
Fixtures
/
php5.4
/
traits.php
1
<?php
2
3
namespace {
4
trait TFoo
5
{
6
}
7
8
class CFoo
9
{
10
use TFoo;
11
}
12
}
13
14
namespace Foo {
15
trait TBar
16
{
17
}
18
19
interface IBar
20
{
21
}
22
23
trait TFooBar
24
{
25
}
26
27
class CBar implements IBar
28
{
29
use TBar;
30
use TFooBar;
31
}
32
}