diff options
author | SVN Migration <svn@php.net> | 2003-10-20 15:33:55 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2003-10-20 15:33:55 +0000 |
commit | b35a47887225d5eb0c607327cd013e9f56e862d1 (patch) | |
tree | ca5cff0d747c59ff8ed7ff8a5c3cf0b51dff8764 /tests/test_class_inheritance | |
parent | f811341773306eb5c77f63ef13bd677ac4641938 (diff) | |
download | php-git-RELEASE_1_3b3.tar.gz |
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_3b3'.RELEASE_1_3b3
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 |