xref: /PHP-5.3/Zend/tests/ns_019.phpt (revision 610c7fbe)
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--EXPECT--
12foo
13