/php-src/Zend/tests/property_hooks/ |
H A D | invalid_abstract_indirect_2.phpt | 2 Class with abstract property hook not declared abstract (inherited 2) 6 abstract class A { 7 public abstract $prop { get; } 15 Fatal error: Class B contains 1 abstract method and must therefore be declared abstract or implemen…
|
H A D | invalid_abstract_indirect.phpt | 2 Class with abstract property hook not declared abstract (inherited 1) 6 abstract class A { 7 public abstract $prop { get; } 16 Fatal error: Class B contains 1 abstract method and must therefore be declared abstract or implemen…
|
H A D | abstract_get_set_readonly.phpt | 2 readonly property does not satisfy get/set abstract property 5 abstract class P { 6 protected abstract int $prop { get; set; } 13 Fatal error: Class C contains 1 abstract method and must therefore be declared abstract or implemen…
|
H A D | interface_explicit_abstract.phpt | 2 Cannot have explicitly abstract property in interface 7 abstract public $prop { get; set; } 12 …rror: Property in interface cannot be explicitly abstract. All interface members are implicitly ab…
|
H A D | interface_invalid_explicitly_abstract.phpt | 2 Property hooks in interfaces cannot be explicitly abstract 7 public abstract $prop { get; } 12 …rror: Property in interface cannot be explicitly abstract. All interface members are implicitly ab…
|
H A D | invalid_abstract.phpt | 2 Implementing abstract property hooks 6 abstract class A { 7 public abstract $prop1 { 11 public abstract $prop2 { 15 public abstract $prop3 { get; set; }
|
H A D | abstract_hook_in_non_abstract_class.phpt | 2 Abstract hooks in non-abstract class gives an error 7 public abstract $prop { 15 Fatal error: Class Test contains 1 abstract method and must therefore be declared abstract or imple…
|
H A D | abstract_hook_not_implemented.phpt | 6 abstract class A { 7 public abstract $prop { 17 Fatal error: Class B contains 1 abstract method and must therefore be declared abstract or implemen…
|
/php-src/Zend/tests/ |
H A D | abstract_inheritance_001.phpt | 2 Allow abstract function override 6 abstract class A { abstract function bar($x); } 7 abstract class B extends A { abstract function bar($x); }
|
H A D | abstract_inheritance_002.phpt | 2 Allow abstract function override 6 abstract class A { abstract function bar($x); } 7 abstract class B extends A { abstract function bar($x, $y = 0); }
|
H A D | abstract_inheritance_003.phpt | 2 Allow abstract function override 6 abstract class A { abstract function bar($x, $y = 0); } 7 abstract class B extends A { abstract function bar($x); }
|
H A D | bug44414.phpt | 2 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 D | abstract_implicit.phpt | 2 Abstract methods not allowed in classes that are not abstract (GH-16067) 8 abstract public function foo(); 15 abstract public function bar(); 19 Fatal error: Class NotAbstract declares abstract method bar() and must therefore be declared abstra…
|
H A D | call_to_abstract_method_args.phpt | 2 Check that arguments are freed when a call to an abstract method throws 6 abstract class Test { 7 abstract static function method(); 25 Cannot call abstract method Test::method() 26 Cannot call abstract method Test::method()
|
/php-src/tests/classes/ |
H A D | abstract_inherit.phpt | 2 ZE2 A class that inherits an abstract method is abstract 6 abstract class pass { 7 abstract function show(); 10 abstract class fail extends pass { 19 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
|
H A D | abstract_not_declared.phpt | 2 ZE2 An abstract class must be declared abstract 7 abstract function show(); 13 Fatal error: Class fail declares abstract method show() and must therefore be declared abstract in …
|
H A D | abstract_derived.phpt | 2 ZE2 A derived class with an abstract method must be abstract 10 abstract function show(); 16 Fatal error: Class derived declares abstract method show() and must therefore be declared abstract …
|
/php-src/ext/reflection/tests/ |
H A D | bug78895.phpt | 2 Fixed bug #78895 (Reflection detects abstract non-static class as abstract static). 5 abstract class Foo { 6 abstract public function f1(); 12 abstract public function f2(); 31 string(8) "abstract"
|
H A D | ReflectionMethod_invoke_on_abstract_method_after_setAccessible.phpt | 2 ReflectionMethod::invoke() on an abstract method should fail 6 abstract class Test { 7 abstract static function foo(); 19 Trying to invoke abstract method Test::foo()
|
/php-src/Zend/tests/access_modifiers/ |
H A D | access_modifiers_004.phpt | 2 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
|
/php-src/Zend/tests/errmsg/ |
H A D | errmsg_018.phpt | 2 errmsg: static abstract function 7 static abstract function foo (); 13 Fatal error: Class test declares abstract method foo() and must therefore be declared abstract in %…
|
/php-src/Zend/tests/ctor_promotion/ |
H A D | ctor_promotion_abstract.phpt | 2 Constructor promotion cannot be used inside an abstract constructor 6 abstract class Test { 7 abstract public function __construct(public int $x); 12 Fatal error: Cannot declare promoted property in an abstract constructor in %s on line %d
|
/php-src/Zend/tests/traits/ |
H A D | abstract_method_7.phpt | 2 Abstract private trait method forwarded as abstract protected method 7 abstract private function method(int $a, string $b); 10 abstract class C { 13 abstract protected function method(int $a, string $b);
|
/php-src/ext/dom/tests/ |
H A D | registerNodeClass_abstract_class.phpt | 2 registerNodeClass() with an abstract class should fail 8 abstract class Test extends DOMElement { 9 abstract function foo(); 24 ValueError: DOMDocument::registerNodeClass(): Argument #2 ($extendedClass) must not be an abstract …
|
/php-src/Zend/tests/traits/bugs/ |
H A D | abstract-methods01.phpt | 2 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…
|