/php-src/ext/standard/tests/general_functions/ |
H A D | bug40398.phpt | 8 function __construct($msg) 16 public function __construct() 25 public function __construct() 34 public function __construct() 43 public function __construct() 78 Base::__construct(1) 81 Base::__construct(2) 82 Base::__construct(3) 85 Base::__construct(4) 86 Base::__construct(5) [all …]
|
/php-src/tests/classes/ |
H A D | ctor_visibility.phpt | 8 function __construct() 16 function __construct() 19 parent::__construct(); 32 private function __construct() 47 function __construct() 50 parent::__construct(); 64 Derived::__construct() 65 Test::__construct() 66 TestPriv::__construct() 67 DerivedPriv::__construct() [all …]
|
H A D | ctor_in_interface_02.phpt | 7 function __construct(); 16 function __construct() 23 function __construct($a); 28 function __construct() 34 Fatal error: Declaration of implem13::__construct() must be compatible with constr3::__construct($a…
|
H A D | ctor_dtor.phpt | 7 function __construct() { 16 function __construct() { 25 $t->__construct(); 33 early::__construct 34 early::__construct 36 late::__construct
|
H A D | ctor_in_interface_04.phpt | 7 function __construct(); 12 function __construct() 19 function __construct($a) 26 Fatal error: Declaration of derived::__construct($a) must be compatible with constr::__construct() …
|
H A D | array_access_010.phpt | 45 function __construct() 103 ArrayReferenceProxy::__construct(Array) 122 ArrayReferenceProxy::__construct(Array) 125 ArrayReferenceProxy::__construct(Array) 127 ArrayReferenceProxy::__construct(Array) 130 ArrayReferenceProxy::__construct(Array) 132 ArrayReferenceProxy::__construct(Array) 135 ArrayReferenceProxy::__construct(Array) 138 ArrayReferenceProxy::__construct(Array) 141 ArrayReferenceProxy::__construct(Array) [all …]
|
/php-src/Zend/tests/traits/bugs/ |
H A D | gh13177.phpt | 7 final private function __construct() {} 16 __construct as final; 22 __construct as final; 31 use TraitNonConstructor { test as __construct; } 36 echo $rc->getMethod("__construct"), "\n"; 40 private function __construct() {} 46 Method [ <user, ctor> final private method __construct ] { 50 Method [ <user, ctor> final private method __construct ] { 54 Method [ <user, ctor> final private method __construct ] { 58 Method [ <user, ctor> final private method __construct ] { [all …]
|
/php-src/Zend/tests/ |
H A D | interface_constructor_prototype_002.phpt | 4 X::__constructor()'s prototype is set to B::__construct(). Y::__construct() then 5 uses prototype to verify LSP, but misses A::__construct() which has a stricter 11 public function __construct(int|float $param); 14 public function __construct(int $param); 17 public function __construct(int|float $param) {} 20 public function __construct(int $param) {} 26 Fatal error: Declaration of Y::__construct(int $param) must be compatible with A::__construct(int|f…
|
H A D | bug48215.phpt | 2 Bug #48215 - parent::method() calls __construct 7 public function __construct() { 17 public function __construct() { 19 parent::__construct(); 31 B::__construct 32 A::__construct
|
H A D | bug51421.phpt | 2 Bug #51421 (Abstract __construct constructor argument list not enforced) 9 abstract public function __construct(ExampleClass $var); 13 public function __construct() {} 18 Fatal error: Declaration of Test::__construct() must be compatible with TestInterface::__construct(…
|
H A D | bug27798.phpt | 12 function __construct() 23 function __construct() 25 parent::__construct(); 36 Base::__construct 49 Base::__construct 58 Child::__construct
|
H A D | bug61970_2.phpt | 2 Bug #61970 (Restraining __construct() access level in subclass gives a fatal error - stays when inh… 7 abstract public function __construct(); 11 public function __construct(){} 15 protected function __construct(){} 19 Fatal error: Access level to Baz::__construct() must be public (as in class Foo) in %s on line 12
|
/php-src/Zend/ |
H A D | zend_attributes.stub.php | 27 public function __construct(int $flags = Attribute::TARGET_ALL) {} function in Attribute 33 public function __construct() {} function in ReturnTypeWillChange 39 public function __construct() {} function in AllowDynamicProperties 48 public function __construct() {} function in SensitiveParameter 59 public function __construct(mixed $value) {} function in SensitiveParameterValue 72 public function __construct() {} function in Override 85 public function __construct(?string $message = null, ?string $since = null) {} function in Deprecated
|
/php-src/Zend/tests/lazy_objects/ |
H A D | init_trigger_compare.phpt | 10 public function __construct() { 22 $obj->__construct(); 32 $obj->__construct(); 42 $obj->__construct(); 48 string(14) "C::__construct" 49 string(14) "C::__construct" 51 string(14) "C::__construct" 52 string(14) "C::__construct"
|
/php-src/Zend/tests/namespaces/ |
H A D | ns_085.phpt | 8 function __construct() {echo __METHOD__,"\n";} 15 function __construct() {echo __METHOD__,"\n";} 24 foo::__construct 25 foo\bar::__construct 26 foo\bar::__construct 27 foo::__construct
|
H A D | ns_089.phpt | 10 class A { function __construct() {echo __METHOD__,"\n";} } 11 class B { function __construct() {echo __METHOD__,"\n";} } 12 class C { function __construct() {echo __METHOD__,"\n";} } 13 class D { function __construct() {echo __METHOD__,"\n";} } 29 class C { function __construct() {echo __METHOD__,"\n";}} 47 Foo\Bar\Baz\A::__construct 48 Foo\Bar\Baz\B::__construct 49 Foo\Bar\Baz\C::__construct 50 Foo\Bar\Baz\D::__construct 51 Fiz\Biz\Buz\C::__construct
|
H A D | ns_090.phpt | 10 class A { function __construct() {echo __METHOD__,"\n";} } 11 class B { function __construct() {echo __METHOD__,"\n";} } 12 class C { function __construct() {echo __METHOD__,"\n";} } 13 class D { function __construct() {echo __METHOD__,"\n";} } 20 class C { function __construct() {echo __METHOD__,"\n";}} 38 Foo\Bar\Baz\A::__construct 39 Foo\Bar\Baz\B::__construct 40 Foo\Bar\Baz\C::__construct 41 Foo\Bar\Baz\D::__construct 42 Fiz\Biz\Buz\C::__construct
|
H A D | ns_086.phpt | 13 function __construct() {echo __METHOD__,"\n";} 20 function __construct() {echo __METHOD__,"\n";} 29 foo::__construct 30 foo\bar::__construct 31 foo\bar::__construct 32 foo::__construct
|
/php-src/ext/zend_test/tests/ |
H A D | observer_bug81430_1.phpt | 16 public function __construct() { 29 <!-- init ReflectionFunction::__construct() --> 30 <ReflectionFunction::__construct> 31 </ReflectionFunction::__construct> 37 <!-- init A::__construct() --> 38 <A::__construct> 39 </A::__construct>
|
H A D | observer_bug81430_2.phpt | 19 public function __construct() { 33 <!-- init ReflectionFunction::__construct() --> 34 <ReflectionFunction::__construct> 35 </ReflectionFunction::__construct> 41 <!-- init A::__construct() --> 42 <A::__construct> 51 </A::__construct>
|
/php-src/ext/date/tests/ |
H A D | DateTime_uninitialised_exceptions.phpt | 9 function __construct() 61 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 62 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 63 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 64 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 65 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 66 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 67 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 68 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… 69 …riting DateTime) has not been correctly initialized by calling parent::__construct() in its constr… [all …]
|
H A D | DateTimeImmutable_uninitialised_exceptions.phpt | 9 function __construct() 55 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 56 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 57 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 58 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 59 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 60 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 61 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 62 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… 63 …teTimeImmutable) has not been correctly initialized by calling parent::__construct() in its constr… [all …]
|
/php-src/ext/spl/tests/ |
H A D | bug54384.phpt | 17 function __construct(){} 26 function __construct(){} 36 function __construct(){} 46 function __construct(){} 55 function __construct(){} 64 function __construct(){} 73 function __construct(){} 82 function __construct(){} 91 function __construct(){} 100 function __construct(){} [all …]
|
/php-src/ext/soap/tests/SoapFault/ |
H A D | gh14586.phpt | 2 GH-14586: SoapFault::__construct() leaks memory if called twice 8 $sf->__construct(null, "x"); 10 $sf->__construct("", ""); 12 $sf->__construct(null, "x", headerFault: []); 14 $sf->__construct(null, "x");
|
/php-src/ext/intl/tests/ |
H A D | gh8115.phpt | 31 Caught (8192): IntlDateFormatter::__construct(): Passing null to parameter #2 ($dateType) of type i… 32 Caught (8192): IntlDateFormatter::__construct(): Passing null to parameter #3 ($timeType) of type i… 33 Caught (8192): IntlRuleBasedBreakIterator::__construct(): Passing null to parameter #1 ($rules) of … 34 Caught (8192): IntlRuleBasedBreakIterator::__construct(): Passing null to parameter #2 ($compiled) … 35 Caught (8192): Collator::__construct(): Passing null to parameter #1 ($locale) of type string is de… 36 Caught (8192): NumberFormatter::__construct(): Passing null to parameter #1 ($locale) of type strin… 37 Caught (8192): NumberFormatter::__construct(): Passing null to parameter #2 ($style) of type int is… 38 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #1 ($locale) of type stri… 39 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #2 ($pattern) of type str… 40 Caught (8192): ResourceBundle::__construct(): Passing null to parameter #3 ($fallback) of type bool…
|