aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/php4/extend_template_runme.php4
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/php4/extend_template_runme.php4')
-rw-r--r--Examples/test-suite/php4/extend_template_runme.php413
1 files changed, 13 insertions, 0 deletions
diff --git a/Examples/test-suite/php4/extend_template_runme.php4 b/Examples/test-suite/php4/extend_template_runme.php4
new file mode 100644
index 000000000..93944f616
--- /dev/null
+++ b/Examples/test-suite/php4/extend_template_runme.php4
@@ -0,0 +1,13 @@
+<?php
+// Sample test file
+
+require "tests.php4";
+require "extend_template.php";
+
+check::classes(array("foo_0"));
+$foo=new Foo_0();
+check::equal(2,$foo->test1(2),"test1");
+check::equal(3,$foo->test2(3),"test2");
+
+check::done();
+?>