xref: /PHP-5.5/Zend/tests/ns_028.inc (revision 1b9e0de2)
1<?php
2namespace Foo;
3
4class Foo {
5  function __construct() {
6  	echo "Method - ".__CLASS__."::".__FUNCTION__."\n";
7  }
8  static function Bar() {
9  	echo "Method - ".__CLASS__."::".__FUNCTION__."\n";
10  }
11}
12
13function Bar() {
14  echo "Func   - ".__FUNCTION__."\n";
15}
16