summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_028.inc
blob: caa18818503a8e8748c84420978c4da2981155fb (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";
}