Home
last modified time | relevance | path

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

1234567891011

/php-src/Zend/tests/property_hooks/
H A Dinvalid_abstract_indirect_2.phpt2 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 Dinvalid_abstract_indirect.phpt2 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 Dabstract_get_set_readonly.phpt2 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 Dinterface_explicit_abstract.phpt2 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 Dinterface_invalid_explicitly_abstract.phpt2 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 Dinvalid_abstract.phpt2 Implementing abstract property hooks
6 abstract class A {
7 public abstract $prop1 {
11 public abstract $prop2 {
15 public abstract $prop3 { get; set; }
H A Dabstract_hook_in_non_abstract_class.phpt2 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 Dabstract_hook_not_implemented.phpt6 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 Dabstract_inheritance_001.phpt2 Allow abstract function override
6 abstract class A { abstract function bar($x); }
7 abstract class B extends A { abstract function bar($x); }
H A Dabstract_inheritance_002.phpt2 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 Dabstract_inheritance_003.phpt2 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 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 Dcall_to_abstract_method_args.phpt2 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()
H A Dctor_promotion_abstract.phpt2 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
H A Derrmsg_018.phpt2 errmsg: static abstract function
7 static abstract function foo ();
13 Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or imple…
H A Dabstract-static.phpt2 Test for abstract static classes
5 abstract class TestClass
7 abstract static public function getName();
/php-src/tests/classes/
H A Dabstract_inherit.phpt2 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 Dabstract_not_declared.phpt2 ZE2 An abstract class must be declared abstract
7 abstract function show();
13 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
10 abstract function show();
16 Fatal error: Class derived contains 1 abstract method and must therefore be declared abstract or im…
/php-src/ext/reflection/tests/
H A Dbug78895.phpt2 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 DReflectionMethod_invoke_on_abstract_method_after_setAccessible.phpt2 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/traits/
H A Dabstract_method_7.phpt2 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 DregisterNodeClass_abstract_class.phpt2 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 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…

Completed in 22 milliseconds

1234567891011