Home
last modified time | relevance | path

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

12345678

/PHP-7.4/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 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 ();
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 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 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
/PHP-7.4/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();
17 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…
H A Dabstract.phpt2 ZE2 An abstract method may not be called
6 abstract class fail {
7 abstract function show();
28 Fatal error: Uncaught Error: Cannot call abstract method fail::show() in %s:%d
/PHP-7.4/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 even after calling setAccessible(true)
6 abstract class Test {
7 abstract static function foo();
20 Trying to invoke abstract method Test::foo()
/PHP-7.4/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.4/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.4/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 28 milliseconds

12345678