Home
last modified time | relevance | path

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

12345678910

/PHP-8.2/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();
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 Dbug69084.phpt2 Bug #69084: Unclear error message when not implementing a renamed abstract trait function
7 abstract public function doStuff();
29 Fatal error: Class Bar contains 1 abstract method and must therefore be declared abstract or implem…
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
/PHP-8.2/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…
H A Dabstract_redeclare.phpt2 ZE2 A method cannot be redeclared abstract
13 abstract function show();
19 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
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_class.phpt2 ZE2 An abstract class cannot be instantiated
6 abstract class fail {
7 abstract function show();
27 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
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…
/PHP-8.2/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-8.2/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-8.2/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-8.2/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-8.2/ext/standard/tests/serialize/
H A Dserialization_objects_003.phpt2 Test serialize() & unserialize() functions: objects (abstract classes)
8 // abstract class
9 abstract class Name
16 abstract protected function getClassName();
21 // implement abstract class

Completed in 26 milliseconds

12345678910