Skip to content

Commit abf0e12

Browse files
committed
Check function found on fall back to root.
1 parent 065e70a commit abf0e12

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
Check functions found on fallback to root.
3+
--FILE--
4+
<?php
5+
namespace {
6+
function foo()
7+
{
8+
echo "I am just foo.\n";
9+
}
10+
}
11+
12+
namespace bar {
13+
foo();
14+
}
15+
?>
16+
--EXPECT--
17+
I am just foo.

0 commit comments

Comments
 (0)