mirror of
https://github.com/php/php-src.git
synced 2024-12-24 17:30:48 +08:00
16 lines
263 B
PHP
16 lines
263 B
PHP
<?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";
|
|
}
|