summaryrefslogtreecommitdiff
path: root/tests/testobj
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>1999-12-12 15:55:58 +0000
committerSVN Migration <svn@php.net>1999-12-12 15:55:58 +0000
commit9492ee9beab4bbb8b7d083cb7717cb0161c60a1b (patch)
treef7ac8ea30f11d407bcb6bafbb7ff183d3d7db505 /tests/testobj
parentf30278b96b25c630ec89ba8cc0bec259eb5b9ed8 (diff)
downloadphp-git-experimental/RETURN_REF.tar.gz
This commit was manufactured by cvs2svn to create branch 'RETURN_REF'.experimental/RETURN_REF
Diffstat (limited to 'tests/testobj')
-rw-r--r--tests/testobj31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/testobj b/tests/testobj
deleted file mode 100644
index bc6f5fd2fe..0000000000
--- a/tests/testobj
+++ /dev/null
@@ -1,31 +0,0 @@
-<?
-define("endl","\n");
-
-//if (1) {
-class foobar {
- function foobar() {
- $this->initialized = 1;
- }
-};
-
-class barbara extends foobar {
-
-};
-//}
-
-$name = "foobar";
-$foo = new $name; // or die("Unable to construct foobar\n");
-//print $foo->initialized;
-
-$boo = new barbara;
-print get_class($foo).endl;
-print get_parent_class($foo).endl;
-print get_class($boo).endl;
-print get_parent_class($boo).endl;
-print method_exists($foo,"foobar").endl;
-print method_exists($boo,"foobar").endl;
-print method_exists($boo,"barbara").endl;
-//$word = new COm("word.application");
-//$word->visible = true;
-//sleep(5);
-//$word->quit();