/PHP-7.2/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) 79 Base::__construct(2) 80 Base::__construct(3) 81 Base::__construct(4) 82 Base::__construct(5) [all …]
|
/PHP-7.2/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 | array_access_010.phpt | 45 function __construct() 105 ArrayReferenceProxy::__construct(Array) 124 ArrayReferenceProxy::__construct(Array) 127 ArrayReferenceProxy::__construct(Array) 129 ArrayReferenceProxy::__construct(Array) 132 ArrayReferenceProxy::__construct(Array) 134 ArrayReferenceProxy::__construct(Array) 137 ArrayReferenceProxy::__construct(Array) 140 ArrayReferenceProxy::__construct(Array) 143 ArrayReferenceProxy::__construct(Array) [all …]
|
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_009.phpt | 57 function __construct() 131 ArrayProxy::__construct(0) 147 ArrayProxy::__construct(0) 150 ArrayProxy::__construct(0) 152 ArrayProxy::__construct(0) 155 ArrayProxy::__construct(0) 157 ArrayProxy::__construct(0) 160 ArrayProxy::__construct(0) 163 ArrayProxy::__construct(0) 166 ArrayProxy::__construct(0) [all …]
|
H A D | array_access_011.phpt | 47 function __construct() 114 ArrayAccessReferenceProxy::__construct(0) 138 ArrayAccessReferenceProxy::__construct(0) 141 ArrayAccessReferenceProxy::__construct(0) 143 ArrayAccessReferenceProxy::__construct(0) 146 ArrayAccessReferenceProxy::__construct(0) 148 ArrayAccessReferenceProxy::__construct(0) 151 ArrayAccessReferenceProxy::__construct(0) 154 ArrayAccessReferenceProxy::__construct(0) 157 ArrayAccessReferenceProxy::__construct(0) [all …]
|
H A D | interfaces_003.phpt | 2 ZE2 interface and __construct 10 public function __construct(MyObject $o); 15 public function __construct(MyObject $o) 25 Fatal error: Uncaught ArgumentCountError: Too few arguments to function MyTestClass::__construct(),… 27 #0 %s(%d): MyTestClass->__construct()
|
/PHP-7.2/ext/date/tests/ |
H A D | DateTimeZone_construct_variation1.phpt | 5 /* Prototype : DateTimeZone::__construct ( string $timezone ) 116 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (0) 119 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (1) 143 FAILED: DateTimeZone::__construct(): Unknown or bad timezone () 146 FAILED: DateTimeZone::__construct(): Unknown or bad timezone () 152 FAILED: DateTimeZone::__construct(): Unknown or bad timezone () 158 FAILED: DateTimeZone::__construct(): Unknown or bad timezone () 161 FAILED: DateTimeZone::__construct(): Unknown or bad timezone () 164 FAILED: DateTimeZone::__construct(): Unknown or bad timezone () 185 FAILED: DateTimeZone::__construct(): Unknown or bad timezone () [all …]
|
H A D | DateTime_construct_variation2.phpt | 121 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given 124 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given 127 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given 130 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given 133 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, float given 136 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, float given 139 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, float given 142 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, array given 145 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, array given 148 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, array given [all …]
|
H A D | DateTime_construct_variation1.phpt | 183 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 184 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 187 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 188 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 191 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 192 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 195 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 196 FAILED: DateTime::__construct() expects parameter 1 to be string, array given 335 FAILED: DateTime::__construct() expects parameter 1 to be string, object given 336 FAILED: DateTime::__construct() expects parameter 1 to be string, object given [all …]
|
/PHP-7.2/Zend/tests/ |
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";}} 46 Foo\Bar\Baz\A::__construct 47 Foo\Bar\Baz\B::__construct 48 Foo\Bar\Baz\C::__construct 49 Foo\Bar\Baz\D::__construct 50 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";}} 37 Foo\Bar\Baz\A::__construct 38 Foo\Bar\Baz\B::__construct 39 Foo\Bar\Baz\C::__construct 40 Foo\Bar\Baz\D::__construct 41 Fiz\Biz\Buz\C::__construct
|
H A D | ns_085.phpt | 8 function __construct() {echo __METHOD__,"\n";} 15 function __construct() {echo __METHOD__,"\n";} 23 foo::__construct 24 foo\bar::__construct 25 foo\bar::__construct 26 foo::__construct
|
H A D | bug48215.phpt | 2 Bug #48215 - parent::method() calls __construct 7 public function __construct() { 17 public function __construct() { 19 parent::__construct(); 32 B::__construct 33 A::__construct
|
H A D | ns_086.phpt | 17 function __construct() {echo __METHOD__,"\n";} 24 function __construct() {echo __METHOD__,"\n";} 32 foo::__construct 33 foo\bar::__construct 34 foo\bar::__construct 35 foo::__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 | 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(){} 18 Fatal error: Access level to Baz::__construct() must be public (as in class Bar) in %s
|
H A D | bug27798.phpt | 12 function __construct() 23 function __construct() 25 parent::__construct(); 37 Base::__construct 50 Base::__construct 59 Child::__construct
|
H A D | bug30828.phpt | 6 function __construct() { 32 function __construct() { 33 parent::__construct(); 50 #0 A->__construct() called at [%sbug30828.php:30] 51 #1 B->__construct() called at [%sbug30828.php:42] 52 A->__construct 53 B->__construct
|
H A D | constructor_args.phpt | 2 Different numbers of arguments in __construct() 6 function __construct(); 9 public function __construct($x = 1) { 13 public function __construct($x = 1, $y = 2) {
|
/PHP-7.2/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 …]
|
H A D | iterator_056.phpt | 2 SPL: Calling __construct(void) on class extending SPL iterator 59 FilterIterator::__construct() expects exactly 1 parameter, 0 given 60 CachingIterator::__construct() expects at least 1 parameter, 0 given 61 RecursiveCachingIterator::__construct() expects at least 1 parameter, 0 given 62 ParentIterator::__construct() expects exactly 1 parameter, 0 given 63 LimitIterator::__construct() expects at least 1 parameter, 0 given 64 NoRewindIterator::__construct() expects exactly 1 parameter, 0 given
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionObject_constructor_error.phpt | 2 ReflectionObject::__construct - invalid arguments 15 Warning: ReflectionObject::__construct() expects exactly 1 parameter, 0 given in %s on line 3 21 Warning: ReflectionObject::__construct() expects parameter 1 to be object, string given in %s on li… 27 Warning: ReflectionObject::__construct() expects exactly 1 parameter, 2 given in %s on line 6 33 Warning: ReflectionObject::__construct() expects parameter 1 to be object, integer given in %s on l… 39 Warning: ReflectionObject::__construct() expects parameter 1 to be object, null given in %s on line… 45 Warning: ReflectionObject::__construct() expects parameter 1 to be object, array given in %s on lin…
|