Home
last modified time | relevance | path

Searched refs:__construct (Results 26 – 50 of 944) sorted by relevance

12345678910>>...38

/PHP-7.2/Zend/tests/grammar/
H A Dsemi_reserved_007.phpt9 public function __construct() {
17 public function __construct() {
18 parent::__construct();
29 From Foo::__construct:
32 From Bar::__construct:
/PHP-7.2/tests/classes/
H A Dctor_in_interface_01.phpt7 function __construct();
12 function __construct($a)
19 Fatal error: Declaration of implem::__construct($a) must be compatible with constr::__construct() i…
H A Dctor_in_interface_03.phpt7 function __construct();
16 function __construct($a)
23 Fatal error: Declaration of derived::__construct($a) must be compatible with constr::__construct() …
H A Dprivate_members.phpt10 function __construct()
29 function __construct()
32 parent::__construct();
55 derived::__construct(begin)
56 base::__construct(begin)
69 base::__construct(end)
88 derived::__construct(end)
H A Dctor_dtor_inheritance.phpt14 function __construct() {
29 function __construct() {
33 parent::__construct();
57 base::__construct
73 base::__construct
79 derived::__construct
/PHP-7.2/ext/date/tests/
H A DDateTime_extends_basic2.phpt2 Test DateTime class inheritance : with user space __construct magic method
9 echo "*** Testing new DateTime() : with user space __construct magic method ***\n";
13 public function __construct ($date = null, DateTimeZone $dtz = null)
19 parent::__construct($date, $dtz);
29 *** Testing new DateTime() : with user space __construct magic method ***
/PHP-7.2/ext/reflection/tests/
H A DReflectionObject_getConstructor_basic.phpt6 function __construct() {}
29 function __construct() {}
33 function __construct() {}
45 function __construct() {}
72 Constructor of NewCtor: __construct
73 Constructor of ExtendsNewCtor: __construct
76 Constructor of OldAndNewCtor: __construct
77 Constructor of NewAndOldCtor: __construct
80 Constructor of D1: __construct
H A DReflectionClass_getConstructor_basic.phpt6 function __construct() {}
29 function __construct() {}
33 function __construct() {}
45 function __construct() {}
72 Constructor of NewCtor: __construct
73 Constructor of ExtendsNewCtor: __construct
76 Constructor of OldAndNewCtor: __construct
77 Constructor of NewAndOldCtor: __construct
80 Constructor of D1: __construct
H A D007.phpt70 function __construct()
81 function __construct($arg)
108 WithCtor::__construct()
114 WithCtor::__construct()
122 WithCtor::__construct()
134 Exception: Too few arguments to function WithCtorWithArgs::__construct(), 0 passed and exactly 1 ex…
136 WithCtorWithArgs::__construct(25)
144 WithCtorWithArgs::__construct(25)
/PHP-7.2/Zend/tests/
H A Dbug61970_1.phpt2 Bug #61970 (Restraining __construct() access level in subclass gives a fatal error - stays when imp…
7 abstract public function __construct();
11 protected function __construct(){}
14 Fatal error: Access level to Bar::__construct() must be public (as in class Foo) in %s
H A Dbug50261.phpt13 function __construct() {
21 parent::__construct(1);
22 testclass::__construct(2);
23 call_user_func(array('parent', '__construct'), 3);
24 call_user_func(array('testclass', '__construct'), 4);
H A Dns_091.phpt6 class A { function __construct() {echo __METHOD__,"\n";} }
9 class B { function __construct() {echo __METHOD__,"\n";} }
18 Foo\Bar\A::__construct
19 Foo\Bar\Baz\B::__construct
H A Dbug32296.phpt6 function __construct(){}
42 [3] => __construct
49 [3] => __construct
54 [1] => __construct
59 [1] => __construct
H A Dbug31102.phpt15 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
18 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
42 Caught: Test1::__construct
H A Dbug61970.phpt2 Bug #61970 (Restraining __construct() access level in subclass gives a fatal error)
7 public function __construct(){}
11 protected function __construct(){}
H A Derrmsg_032.phpt2 errmsg: __construct() cannot be static
8 static function __construct() {
15 Fatal error: Constructor test::__construct() cannot be static in %s on line %d
/PHP-7.2/ext/soap/tests/
H A Dclassmap003.phpt11 function __construct($a){
18 function __construct($a){
19 parent::__construct($a);
30 function __construct($wsdl, $options) {
31 parent::__construct($wsdl, $options);
/PHP-7.2/ext/dom/tests/
H A Ddom_create_element.phpt117 print "13 DOMElement::__construct('valid')\n";
125 print "14 DOMElement::__construct('-invalid')\n";
133 print "15 DOMElement::__construct(' ')\n";
141 print "16 DOMElement::__construct('prefix:valid')\n";
349 13 DOMElement::__construct('valid')
351 14 DOMElement::__construct('-invalid')
353 15 DOMElement::__construct(' ')
355 16 DOMElement::__construct('prefix:valid')
357 17 DOMElement::__construct('valid', '', 'http://valid.com')
365 21 DOMElement::__construct('prefix:invalid', '', '')
[all …]
/PHP-7.2/ext/pdo/tests/
H A Dpdo_010.phpt31 public function __construct()
39 public function __construct()
47 public function __construct()
62 Test1::__construct()
63 Test2::__construct()
64 Test3::__construct()
101 Test1::__construct()
102 Test2::__construct()
103 Test3::__construct()
/PHP-7.2/Zend/tests/traits/
H A Dmethods_003.phpt2 Testing __construct and __destruct with Trait
7 public function __construct() {
23 string(11) "__construct"
H A Dbug55554b.phpt17 foo as __construct;
20 public function __construct() {
21 echo "OverridingIsSilent1 __construct\n";
42 foo as __construct;
50 OverridingIsSilent1 __construct
/PHP-7.2/ext/dom/
H A Ddom_fe.h104 PHP_METHOD(domdocumentfragment, __construct);
125 PHP_METHOD(domdocument, __construct);
196 PHP_METHOD(domattr, __construct);
217 PHP_METHOD(domelement, __construct);
223 PHP_METHOD(domtext, __construct);
226 PHP_METHOD(domcomment, __construct);
246 PHP_METHOD(domcdatasection, __construct);
255 PHP_METHOD(domentityreference, __construct);
258 PHP_METHOD(domprocessinginstruction, __construct);
266 PHP_METHOD(domxpath, __construct);
/PHP-7.2/ext/intl/tests/
H A Dbreakiter___construct_error.phpt2 IntlRuleBasedBreakIterator::__construct(): arg errors
41 Exception: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to create RuleBa…
43 Exception: IntlRuleBasedBreakIterator::__construct() expects at least 1 parameter, 0 given in %s on…
45 Exception: IntlRuleBasedBreakIterator::__construct() expects at most 2 parameters, 3 given in %s on…
47 Exception: IntlRuleBasedBreakIterator::__construct() expects parameter 2 to be boolean, array given…
49 Exception: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to create instan…
/PHP-7.2/ext/spl/tests/
H A Diterator_041.phpt19 function __construct()
23 parent::__construct(array(1, 2));
97 State 0: __construct()
98 State 1: __construct()
111 State 0: __construct()
112 State 1: __construct()
/PHP-7.2/ext/phar/tests/
H A Dphar_oo_006.phpt15 function __construct($what)
18 parent::__construct($what);
46 MyFile::__construct(phar://%s/a.php)
48 MyFile::__construct(phar://%s/b/c.php)
50 MyFile::__construct(phar://%s/b.php)

Completed in 30 milliseconds

12345678910>>...38