summaryrefslogtreecommitdiff
path: root/testclassfunc
diff options
context:
space:
mode:
Diffstat (limited to 'testclassfunc')
-rw-r--r--testclassfunc10
1 files changed, 10 insertions, 0 deletions
diff --git a/testclassfunc b/testclassfunc
new file mode 100644
index 0000000000..6ad5a5091c
--- /dev/null
+++ b/testclassfunc
@@ -0,0 +1,10 @@
+<?
+
+class foo {
+ function bar() {
+ print "Hey there!\n";
+ }
+};
+
+foo::bar();
+