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/classes/destructor_inheritance.phpt | |
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/classes/destructor_inheritance.phpt')
-rwxr-xr-x | tests/classes/destructor_inheritance.phpt | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/classes/destructor_inheritance.phpt b/tests/classes/destructor_inheritance.phpt deleted file mode 100755 index b9a46659b0..0000000000 --- a/tests/classes/destructor_inheritance.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -ZE2 The inherited destructor is called ---SKIPIF-- -<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> ---FILE-- -<?php -class base { - function __construct() { - echo __METHOD__ . "\n"; - } - - function __destruct() { - echo __METHOD__ . "\n"; - } -} - -class derived extends base { -} - -$obj = new derived; - -unset($obj); - -echo 'Done'; -?> ---EXPECT-- -base::__construct -base::__destruct -Done
\ No newline at end of file |