summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_028.inc
blob: 5bd3ae77650b98025562da2acce5185eff481002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
namespace Foo;

class Foo {
  function __construct() {
  	echo "Method - ".__CLASS__."::".__FUNCTION__."\n";
  }
  static function Bar() {
  	echo "Method - ".__CLASS__."::".__FUNCTION__."\n";
  }
}

function Bar() {
  echo "Func   - ".__FUNCTION__."\n";
}