xref: /PHP-8.2/Zend/tests/ns_019.phpt (revision 7aacc705)
1--TEST--
2019: __NAMESPACE__ constant and runtime names (php name)
3--FILE--
4<?php
5function foo() {
6    return __FUNCTION__;
7}
8
9$x = __NAMESPACE__ . "\\foo";
10echo $x(),"\n";
11?>
12--EXPECT--
13foo
14