Home
last modified time | relevance | path

Searched refs:__construct (Results 126 – 150 of 1118) sorted by relevance

12345678910>>...45

/PHP-8.1/ext/opcache/tests/jit/
H A Dpreload_bug80634.inc5 public function __construct(int $v) {
6 parent::__construct(new \DateTime('2020-12-31'), new \DateInterval("P1Y"), 1);
/PHP-8.1/ext/spl/tests/
H A DarrayObject___construct_error1.phpt2 SPL: ArrayObject::__construct with bad iterator.
23 ArrayObject::__construct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIte…
25 ArrayObject::__construct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIte…
H A Darray_005.phpt11 public function __construct($id, $name)
32 public function __construct(ArrayObject $students, Student $other)
34 FilterIterator::__construct($students->getIterator());
49 public function __construct()
H A Dbug74058.phpt8 public function __construct($input = [])
10 parent::__construct($input, ArrayObject::ARRAY_AS_PROPS);
28 public function __construct($input = [])
30 parent::__construct($input);
H A Dbug71412.phpt5 echo (new ReflectionMethod('ArrayIterator', '__construct'));
8 Method [ <internal:SPL, ctor> public method __construct ] {
/PHP-8.1/ext/reflection/tests/
H A D004.phpt7 function __construct(){
16 $m=$a->getMethod("__construct");
40 Trying to invoke non static method a::__construct() without an object
H A DReflectionMethod_constructor_error2.phpt55 Ok - ReflectionMethod::__construct() expects at least 1 argument, 0 given
58 Ok - ReflectionMethod::__construct() expects at most 2 arguments, 3 given
60 Ok - ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be of type object|string, …
61 Ok - ReflectionMethod::__construct(): Argument #2 ($method) must be of type ?string, array given
H A Dbug42976.phpt7 function __construct(&$x) {
29 Warning: C::__construct(): Argument #1 ($x) must be passed by reference, value given in %s on line …
32 Warning: C::__construct(): Argument #1 ($x) must be passed by reference, value given in %s on line …
/PHP-8.1/Zend/tests/attributes/
H A D030_strict_types.phpt8 public function __construct(public int $value) {}
26 Fatal error: Uncaught TypeError: MyAttribute::__construct(): Argument #1 ($value) must be of type i…
28 #0 %s030_strict_types.inc(4): MyAttribute->__construct('42')
/PHP-8.1/ext/date/tests/
H A Ddate_period_bad_iso_format.phpt27 DatePeriod::__construct(): ISO interval must contain a start date, "R4" given
28 DatePeriod::__construct(): ISO interval must contain an interval, "R4/2012-07-01T00:00:00Z" given
29 DatePeriod::__construct(): ISO interval must contain an end date or a recurrence count, "2012-07-01…
/PHP-8.1/Zend/tests/
H A Dbug30162.phpt7 public function __construct() {
16 public function __construct() {
18 parent::__construct();
H A Dbug77613.phpt6 public function __construct() {
14 private function __construct() {}
H A Dindirect_method_call_005.phpt7 public function __construct($arr) {
8 parent::__construct($arr);
H A Dns_026.phpt10 function __construct() {
30 Method - Foo\Foo::__construct
32 Method - Foo\Foo::__construct
/PHP-8.1/ext/dom/tests/manually_call_constructor/
H A Dattribute.phpt2 Manually call __construct() - attribute variation
10 $attr->__construct("newattribute", "my new value");
21 $attr->__construct("newnewattribute", "my even newer value");
H A Dcomment.phpt2 Manually call __construct() - comment variation
10 $comment->__construct("my new value");
21 $comment->__construct("my even newer value");
H A Ddocument.phpt2 Manually call __construct() - document variation
10 $doc->__construct("1.1", "UTF-8");
H A Delement.phpt2 Manually call __construct() - element variation
10 $element->__construct('foo2', 'my new value');
21 $element->__construct('foo3', 'my new new value');
/PHP-8.1/ext/pdo_mysql/tests/
H A Dbug46292.phpt18 public function __construct() {
51 myclass::__construct()
56 myclass::__construct()
61 myclass::__construct()
/PHP-8.1/tests/classes/
H A Ddestructor_and_echo.phpt8 function __construct() {
22 Test::__construct
H A Diterators_002.phpt10 function __construct($obj) {
73 c_iter::__construct
79 c_iter::__construct
90 c_iter::__construct
101 c_iter::__construct
H A Diterators_001.phpt10 function __construct($obj) {
91 c_iter::__construct
107 c_iter::__construct
123 c_iter::__construct
127 c_iter::__construct
145 c_iter::__construct
163 c_iter::__construct
181 c_iter::__construct
/PHP-8.1/ext/pdo/tests/
H A Dpdo_023.phpt21 protected function __construct()
88 PDOStatementX::__construct()
91 PDOStatementX::__construct()
94 PDOStatementX::__construct()
97 PDOStatementX::__construct()
/PHP-8.1/Zend/tests/return_types/
H A D014.phpt7 function __construct() : Foo {}
11 Fatal error: Method Foo::__construct() cannot declare a return type in %s on line %d
/PHP-8.1/ext/standard/tests/array/
H A Darray_fill_object.phpt29 function __construct($value1 , $value2)
41 function __construct($value1 , $value2 , $value3)
43 parent::__construct($value1 , $value2);
57 function __construct($value1 , $value2)
69 function __construct($value1 , $value2 , $value3)
71 parent::__construct($value1 , $value2);
85 function __construct($value1 , $value2)
97 function __construct($value1 , $value2 , $value3)
99 parent::__construct($value1 , $value2);
113 function __construct($value1 , $value2 , $value3)
[all …]

Completed in 26 milliseconds

12345678910>>...45