1<?php
2namespace MyProject {
3const CONNECT_OK = 1;
4class Connection1 { function test1() {} }
5function connect() { /* ... */  }
6}
7
8namespace AnotherProject {
9const CONNECT_OK = 1;
10class Connection2 { function test2() {} }
11function connect() { /* ... */  }
12}
13
14namespace { // global code
15class Connection3 { function test3() {} }
16session_start();
17$a = MyProject\connect();
18echo MyProject\Connection::start();
19}
20
21namespace Illuminate\Database\Eloquent\Model;
22
23class TestModel {}
24
25namespace Timetracker\Base\Models;
26
27use Illuminate\Database\Eloquent\Model;
28use ApiServer\Modules\Models\BaseModel;
29
30class Hour {}
31
32?>
33
34