xref: /PHP-8.3/Zend/tests/ns_028.inc (revision f8d79582)
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