@ -1,5 +1,5 @@
--TEST--
An abstract method may not be called
ZE2 An abstract method may not be called
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
--FILE--
An abstract class cannot be instantiated
ZE2 An abstract class cannot be instantiated
A final method cannot be abstract
ZE2 A final method cannot be abstract
A class that inherits an abstract method is abstract
ZE2 A class that inherits an abstract method is abstract
An abstract class must be declared abstract
ZE2 An abstract class must be declared abstract
A method cannot be redeclared abstrcat
ZE2 A method cannot be redeclared abstrcat
A static abstrcat method may not be called
ZE2 A static abstrcat method may not be called
An abstract class cannot be instanciated
ZE2 An abstract class cannot be instanciated
@ -1,7 +1,5 @@
Classes general test
--POST--
--GET--
<?php
A final class cannot be inherited
ZE2 A final class cannot be inherited
The new constructor/destructor is called
ZE2 The new constructor/destructor is called
A derived class can use the inherited constructor/destructor
ZE2 A derived class can use the inherited constructor/destructor
A method may be redeclared final
ZE2 A method may be redeclared final
A final method may not be overwritten
ZE2 A final method may not be overwritten
Classes inheritance test
Constructor precedence
ZE2 Constructor precedence
A class can only implement interfaces
ZE2 A class can only implement interfaces
An interface may both inherit and implement base interfaces
ZE2 An interface may both inherit and implement base interfaces
An interface is inherited
ZE2 An interface is inherited
An interface cannot be instantiated
ZE2 An interface cannot be instantiated
An interface cannot have properties
ZE2 An interface cannot have properties
An interface method must be abstract
ZE2 An interface method must be abstract
An interface method cannot be final
ZE2 An interface method cannot be final
An interface method cannot be private
ZE2 An interface method cannot be private
An interface must be implemented
ZE2 An interface must be implemented
A private method can only be called inside the class
ZE2 A private method can only be called inside the class
A private method cannot be called in another class
ZE2 A private method cannot be called in another class
A private method cannot be called in a derived class
ZE2 A private method cannot be called in a derived class
A private method can be overwritten in a second derived class
ZE2 A private method can be overwritten in a second derived class
A derived class does not know about privates of ancestors
ZE2 A derived class does not know about privates of ancestors
A private member is
ZE2 A private member is
A protected method can only be called inside the class
ZE2 A protected method can only be called inside the class
A protected method cannot be called in another class
ZE2 A protected method cannot be called in another class
ZE2 singleton
ZE2 ZE2 singleton
You cannot overload a static method with a non static method
ZE2 You cannot overload a static method with a non static method
You cannot overload a non static method with a static method
ZE2 You cannot overload a non static method with a static method
A redeclared method must have the same or higher visibility
ZE2 A redeclared method must have the same or higher visibility