diff options
author | SVN Migration <svn@php.net> | 2002-05-26 12:54:20 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-05-26 12:54:20 +0000 |
commit | 64f6b9bdc0080ea3b70def3fd285283901712f5f (patch) | |
tree | 38cef23d834d27a17a2b74d9545b177bfee962ac /tests/test_class_inheritance | |
parent | 7168cb0567170b9a2beceb427970607e3eaeb63e (diff) | |
download | php-git-RELEASE_0_10.tar.gz |
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_10'.RELEASE_0_10
Diffstat (limited to 'tests/test_class_inheritance')
-rw-r--r-- | tests/test_class_inheritance | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/test_class_inheritance b/tests/test_class_inheritance deleted file mode 100644 index 3f903e62d1..0000000000 --- a/tests/test_class_inheritance +++ /dev/null @@ -1,29 +0,0 @@ -<? - -class BaseClass { - var $class_name = "BaseClass"; - - function BaseClass($value) { - print "value is '$value'\n"; - } - function MyClassName() { - return $this->class_name; - } -}; - - -class ChildClass { - var $class_name = "ChildClass"; - - function ChildClass($value, $new_value) { - BaseClass::BaseClass($value); - print "new value is '$new_value'\n"; - } - function MyClassName($a_value) { - return BaseClass::MyClassName()." and the value is '$a_value'"; - } -}; - - -$obj = new ChildClass("Test", "Another test"); -print $obj->MyClassName("not interesting");
\ No newline at end of file |