summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_028.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/ns_028.inc')
-rw-r--r--Zend/tests/ns_028.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/Zend/tests/ns_028.inc b/Zend/tests/ns_028.inc
new file mode 100644
index 0000000..5bd3ae7
--- /dev/null
+++ b/Zend/tests/ns_028.inc
@@ -0,0 +1,15 @@
+<?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";
+}