Home
last modified time | relevance | path

Searched refs:parent (Results 126 – 150 of 557) sorted by path

12345678910>>...23

/php-src/Zend/tests/parameter_default_values/
H A Dinternal_declaration_error_const.phpt2 The default value is a constant in the parent class method's signature.
H A Dinternal_declaration_error_false.phpt2 The default value is false in the parent class method's signature.
H A Dinternal_declaration_error_int.phpt2 The default value is an integer in the parent class method's signature.
H A Dinternal_declaration_error_null.phpt2 The default value is null in the parent class method's signature.
H A Duserland_declaration_error_class_const.phpt2 The default value is a constant in the parent class method's signature.
H A Duserland_declaration_error_const.phpt2 The default value is a constant in the parent class method's signature.
/php-src/Zend/tests/
H A Dparent_class_name_without_parent.phpt2 Getting parent class name when there is no parent generates an error
8 var_dump(parent::class);
20 Fatal error: Uncaught Error: Cannot use "parent" when current class scope has no parent in %s:5
H A DselfParent_001.phpt18 var_dump(parent::myDynConst);
H A DselfParent_002.phpt18 var_dump(parent::myDynConst);
/php-src/Zend/tests/return_types/
H A D006.phpt2 Return type allowed in child when parent does not have return type
9 return parent::current();
H A D026.phpt2 Return type of parent is not allowed in function
6 function test(): parent {}
9 Fatal error: Cannot use "parent" when no class scope is active in %s on line %d
H A D027.phpt2 Return type of parent is allowed in closure
9 $c = function(parent $x): parent { return $x; };
H A Dinheritance004.phpt12 public static function test() : parent {
H A Dnever_covariance.phpt15 throw new UnexpectedValueException('parent');
H A Dnever_no_variance.phpt10 throw new \Exception('parent');
/php-src/Zend/tests/traits/
H A Dbug65576b.phpt10 parent::__construct();
H A Dbug76773-deprecated.phpt2 Bug #76773 (Traits used on the parent are ignored for child classes) [original test with deprecated…
12 if (\is_callable(array('parent', __FUNCTION__))) {
13 parent::hello();
34 Deprecated: Use of "parent" in callables is deprecated in %s on line %d
H A Dbug76773.phpt2 Bug #76773 (Traits used on the parent are ignored for child classes)
13 parent::hello();
H A Dconstant_001.phpt31 echo parent::PROTECTED, ' via parent', PHP_EOL;
55 protected via parent
H A Dconstant_015.phpt2 The same name constant of a trait used in a class that inherits a constant defined in a parent can …
H A Dflattening002.phpt2 parent:: works like in a method defined without traits.
15 parent::sayHello();
/php-src/Zend/tests/type_declarations/dnf_types/variance/
H A Dinvalid1.phpt19 /* This fails because A is a parent type for B */
/php-src/Zend/tests/type_declarations/intersection_types/invalid_types/
H A Dinvalid_parent_type.phpt2 parent type cannot take part in an intersection type
9 public function foo(): parent&Iterator {}
14 Fatal error: Type parent cannot be part of an intersection type in %s on line %d
/php-src/Zend/tests/type_declarations/intersection_types/variance/
H A Dinvalid1.phpt18 /* This fails because A is a parent type for B */
H A Dinvalid6.phpt2 Replacing not-loadable parent intersection type with loadable child intersection type

Completed in 45 milliseconds

12345678910>>...23