Back to index

php5  5.3.10
ns_028.inc
Go to the documentation of this file.
00001 <?php
00002 namespace Foo;
00003 
00004 class Foo {
00005   function __construct() {
00006        echo "Method - ".__CLASS__."::".__FUNCTION__."\n";
00007   }
00008   static function Bar() {
00009        echo "Method - ".__CLASS__."::".__FUNCTION__."\n";
00010   }
00011 }
00012 
00013 function Bar() {
00014   echo "Func   - ".__FUNCTION__."\n";
00015 }