/PHP-8.0/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() 77 Base::__construct(1) 78 Base::__construct(2) 79 Base::__construct(3) 80 Base::__construct(4) 81 Base::__construct(5) [all …]
|
/PHP-8.0/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 …]
|
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()
|
H A D | final_ctor1.phpt | 2 ZE2 cannot override final __construct 8 public final function __construct() 19 public function __construct() 26 Fatal error: Cannot override final method Base::__construct() in %s on line %d
|
H A D | array_access_009.phpt | 57 function __construct() 130 ArrayProxy::__construct(0) 146 ArrayProxy::__construct(0) 149 ArrayProxy::__construct(0) 151 ArrayProxy::__construct(0) 154 ArrayProxy::__construct(0) 156 ArrayProxy::__construct(0) 159 ArrayProxy::__construct(0) 162 ArrayProxy::__construct(0) 165 ArrayProxy::__construct(0) [all …]
|
H A D | array_access_011.phpt | 47 function __construct() 112 ArrayAccessReferenceProxy::__construct(0) 136 ArrayAccessReferenceProxy::__construct(0) 139 ArrayAccessReferenceProxy::__construct(0) 141 ArrayAccessReferenceProxy::__construct(0) 144 ArrayAccessReferenceProxy::__construct(0) 146 ArrayAccessReferenceProxy::__construct(0) 149 ArrayAccessReferenceProxy::__construct(0) 152 ArrayAccessReferenceProxy::__construct(0) 155 ArrayAccessReferenceProxy::__construct(0) [all …]
|
/PHP-8.0/Zend/tests/ |
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 | 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 | 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 | 17 function __construct() {echo __METHOD__,"\n";} 24 function __construct() {echo __METHOD__,"\n";} 33 foo::__construct 34 foo\bar::__construct 35 foo\bar::__construct 36 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(){} 19 Fatal error: Access level to Baz::__construct() must be public (as in class Foo) in %s on line 12
|
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 | constructor_abstract_grantparent.phpt | 7 abstract function __construct(X $x); 10 function __construct(X $x) {} 13 function __construct() {} 18 Fatal error: Declaration of C::__construct() must be compatible with A::__construct(X $x) in %s on …
|
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) {
|
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
|
/PHP-8.0/ext/spl/ |
H A D | spl_iterators.stub.php | 25 public function __construct(Iterator $iterator, callable $callback) {} function in CallbackFilterIterator 33 public function __construct(RecursiveIterator $iterator, callable $callback) {} function in RecursiveCallbackFilterIterator 118 public function __construct(Traversable $iterator, ?string $class = null) {} function in IteratorIterator 144 public function __construct(Iterator $iterator) {} function in FilterIterator 155 public function __construct(RecursiveIterator $iterator) {} function in RecursiveFilterIterator 166 public function __construct(RecursiveIterator $iterator) {} function in ParentIterator 183 public function __construct(Iterator $iterator, int $offset = 0, int $limit = -1) {} function in LimitIterator 269 public function __construct(Iterator $iterator) {} function in NoRewindIterator 289 public function __construct() {} function in AppendIterator 315 public function __construct(Iterator $iterator) {} function in InfiniteIterator [all …]
|
/PHP-8.0/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-8.0/Zend/tests/type_declarations/variance/ |
H A D | abstract_constructor.phpt | 8 abstract function __construct(X $x); 11 function __construct(object $x) {} 14 function __construct(Y $x) {} 18 Fatal error: Could not check compatibility between C::__construct(Y $x) and A::__construct(X $x), b…
|
/PHP-8.0/ext/date/tests/ |
H A D | bug-gh9763.phpt | 21 Testing +99:60: DateTimeZone::__construct(): Timezone offset is out of range (+99:60) 22 Testing +99:62: DateTimeZone::__construct(): Timezone offset is out of range (+99:62) 23 Testing -99:62: DateTimeZone::__construct(): Timezone offset is out of range (-99:62) 24 Testing -99:60: DateTimeZone::__construct(): Timezone offset is out of range (-99:60) 25 Testing +9960: DateTimeZone::__construct(): Timezone offset is out of range (+9960) 26 Testing -9960: DateTimeZone::__construct(): Timezone offset is out of range (-9960)
|