Home
last modified time | relevance | path

Searched refs:abstract (Results 1 – 25 of 185) sorted by relevance

12345678

/PHP-7.0/tests/classes/
H A Dabstract_inherit.phpt2 ZE2 A class that inherits an abstract method is abstract
8 abstract class pass {
9 abstract function show();
12 abstract class fail extends pass {
22 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
H A Dabstract_not_declared.phpt2 ZE2 An abstract class must be declared abstract
9 abstract function show();
15 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
H A Dabstract_derived.phpt2 ZE2 A derived class with an abstract method must be abstract
12 abstract function show();
20 Fatal error: Class derived contains 1 abstract method and must therefore be declared abstract or im…
H A Dabstract_by_interface_001.phpt2 ZE2 An abstract method may not be called
14 abstract class Derived extends Root implements MyInterface {
33 Fatal error: Class Fails contains 1 abstract method and must therefore be declared abstract or impl…
H A Dabstract_redeclare.phpt2 ZE2 A method cannot be redeclared abstract
15 abstract function show();
22 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
H A Dabstract_by_interface_002.phpt2 ZE2 An abstract method may not be called
14 abstract class Derived extends Root implements MyInterface {
33 Fatal error: Class Fails contains 1 abstract method and must therefore be declared abstract or impl…
H A Dabstract_static.phpt2 ZE2 A static abstract methods
23 abstract static function func();
34 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
H A Dabstract_class.phpt2 ZE2 An abstract class cannot be instantiated
8 abstract class fail {
9 abstract function show();
29 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
H A Dabstract.phpt2 ZE2 An abstract method may not be called
8 abstract class fail {
9 abstract function show();
30 Fatal error: Uncaught Error: Cannot call abstract method fail::show() in %s:%d
/PHP-7.0/Zend/tests/
H A Dbug44414.phpt2 Bug #44414 (incomplete reporting about abstract methods)
5 abstract class A {
6 abstract function foo();
15 Fatal error: Class C contains 2 abstract methods and must therefore be declared abstract or impleme…
H A Daccess_modifiers_004.phpt2 using multiple access modifiers (abstract methods)
7 abstract abstract function foo() {
14 Fatal error: Multiple abstract modifiers are not allowed in %s on line %d
H A Dbug43323.phpt2 Bug #43323 (Wrong count abstract methods)
5 abstract class bar {
6 abstract public function bar();
14 Fatal error: Class foo contains 1 abstract method and must therefore be declared abstract or implem…
H A Derrmsg_018.phpt2 errmsg: static abstract function
7 static abstract function foo ();
14 Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or imple…
H A Dbug63111.phpt2 Bug #63111 (is_callable() lies for abstract static method)
5 abstract class Foo {
6 abstract static function bar();
11 abstract class Bar {
34 Fatal error: Uncaught Error: Cannot call abstract method Foo::bar() in %sbug63111.php:20
H A Dabstract-static.phpt2 Test for abstract static classes
5 abstract class TestClass
7 abstract static public function getName();
H A Derrmsg_037.phpt2 errmsg: properties cannot be abstract
7 abstract $var = 1;
13 Fatal error: Properties cannot be declared abstract in %s on line %d
H A Dexception_017.phpt5 abstract class C {
6 abstract static function foo();
31 Exception: Cannot call abstract method C::foo() in %sexception_017.php on line %d
34 Exception: Cannot call abstract method C::foo()
36 Fatal error: Uncaught Error: Cannot call abstract method C::foo() in %sexception_017.php:%d
H A Daccess_modifiers_007.phpt2 abstract final methods errmsg
7 final abstract function foo();
13 Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
H A Daccess_modifiers_013.phpt2 Prevent abstract and final in the same class declaration
6 final abstract class C {
12 Fatal error: Cannot use the final modifier on an abstract class in %s on line %d
H A Derrmsg_001.phpt2 errmsg: Non-abstract method must contain body
6 abstract class test {
16 Fatal error: Non-abstract method Impl::Foo() must contain body in %s on line %d
H A Dbug43200_2.phpt2 Bug #43200.2 (Interface implementation / inheritance not possible in abstract classes)
10 abstract class B implements A {
11 abstract public function foo();
/PHP-7.0/Zend/tests/traits/bugs/
H A Dabstract-methods01.phpt2 Abstract Trait Methods should behave like common abstract methods.
8 public abstract function hello();
19 Fatal error: Class %s contains %d abstract method and must therefore be declared abstract or implem…
/PHP-7.0/ext/reflection/tests/
H A DReflectionClass_getModifierNames_basic.phpt9 abstract class b {}
26 abstract class y
28 abstract function a();
29 abstract protected function b();
60 string(8) "abstract"
128 string(8) "abstract"
135 string(8) "abstract"
/PHP-7.0/Zend/tests/traits/
H A Dlanguage018.phpt2 abstract alias
10 T1::foo as abstract;
15 Fatal error: Cannot use 'abstract' as method modifier in %s on line %d
/PHP-7.0/ext/standard/tests/general_functions/
H A Dis_callable_abstract_method.phpt2 is_callable() on abstract method via object should return false
6 abstract class A {
7 abstract function foo();

Completed in 26 milliseconds

12345678