File: file1.php

package info (click to toggle)
phpab 1.29.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 852 kB
  • sloc: php: 3,467; xml: 162; makefile: 28
file content (23 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace test {

  class base { }
  
  interface demo1 { }
  interface demo2 { }
}

namespace foo {
  class demo3 implements \test\demo1, \test\demo2 { }
  
  class demo5 extends demo3 { }
}

namespace bar {
  class demo4 extends \foo\demo3 { }
  
  class ex extends \Exception { }
}

?>