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