summaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/class_ignore_runme.php
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/php/class_ignore_runme.php')
-rw-r--r--Examples/test-suite/php/class_ignore_runme.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/Examples/test-suite/php/class_ignore_runme.php b/Examples/test-suite/php/class_ignore_runme.php
new file mode 100644
index 000000000..861576026
--- /dev/null
+++ b/Examples/test-suite/php/class_ignore_runme.php
@@ -0,0 +1,17 @@
+<?php
+// Sample test file
+
+require "tests.php";
+require "class_ignore.php";
+
+check::functions(array(do_blah,new_bar,bar_blah,new_boo,boo_away,new_far,new_hoo));
+check::classes(array(class_ignore,Bar,Boo,Far,Hoo));
+// No new vars
+check::globals(array());
+
+$bar=new bar();
+do_blah($bar);
+check::classparent($bar,"");
+
+check::done();
+?>