1--TEST--
2get_function_or_method_name when included file is scoped
3--EXTENSIONS--
4zend_test
5--FILE--
6<?php
7
8class Foo
9{
10    public static function bar()
11    {
12        return require 'get_function_or_method_name_01.inc';
13    }
14}
15
16var_dump(Foo::bar());
17?>
18--EXPECT--
19string(4) "main"
20