Home
last modified time | relevance | path

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

12345678910>>...45

/PHP-8.1/Zend/tests/
H A Dconstructor_args.phpt2 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 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(){}
15 Fatal error: Access level to Bar::__construct() must be public (as in class Foo) in %s on line 8
H A Dns_091.phpt6 class A { function __construct() {echo __METHOD__,"\n";} }
9 class B { function __construct() {echo __METHOD__,"\n";} }
19 Foo\Bar\A::__construct
20 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 Dbug29368_3.phpt6 function __construct() {
14 function __construct() {
30 Foo::__construct
31 Bar::__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');}}");
41 Caught: Test1::__construct
H A Derrmsg_032.phpt2 errmsg: __construct() cannot be static
8 static function __construct() {
15 Fatal error: Method test::__construct() cannot be static in %s on line %d
H A Dbug61970.phpt2 Bug #61970 (Restraining __construct() access level in subclass gives a fatal error)
7 public function __construct(){}
11 protected function __construct(){}
/PHP-8.1/ext/spl/tests/
H A Diterator_056.phpt2 SPL: Calling __construct(void) on class extending SPL iterator
59 FilterIterator::__construct() expects exactly 1 argument, 0 given
60 CachingIterator::__construct() expects at least 1 argument, 0 given
61 RecursiveCachingIterator::__construct() expects at least 1 argument, 0 given
62 ParentIterator::__construct() expects exactly 1 argument, 0 given
63 LimitIterator::__construct() expects at least 1 argument, 0 given
64 NoRewindIterator::__construct() expects exactly 1 argument, 0 given
/PHP-8.1/Zend/tests/grammar/
H A Dsemi_reserved_007.phpt9 public function __construct() {
17 public function __construct() {
18 parent::__construct();
30 From Foo::__construct:
33 From Bar::__construct:
/PHP-8.1/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 Dfinal_private_ctor.phpt8 private final function __construct()
14 public function __construct()
21 Fatal error: Cannot override final method Base::__construct() in %s on line %d
/PHP-8.1/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);
28 *** Testing new DateTime() : with user space __construct magic method ***
/PHP-8.1/ext/reflection/tests/
H A D007.phpt70 function __construct()
81 function __construct($arg)
106 WithCtor::__construct()
112 WithCtor::__construct()
120 WithCtor::__construct()
132 Exception: Too few arguments to function WithCtorWithArgs::__construct(), 0 passed and exactly 1 ex…
134 WithCtorWithArgs::__construct(25)
142 WithCtorWithArgs::__construct(25)
H A DReflectionObject_getConstructor_basic.phpt6 function __construct() {}
28 function __construct() {}
50 Constructor of NewCtor: __construct
51 Constructor of ExtendsNewCtor: __construct
54 Constructor of D1: __construct
/PHP-8.1/ext/zend_test/tests/
H A Dobserver_bug81430_1.phpt15 public function __construct() {
28 <!-- init A::__construct() -->
29 <A::__construct>
30 </A::__construct>
H A Dobserver_bug81430_2.phpt14 public function __construct() {
28 <!-- init A::__construct() -->
29 <A::__construct>
32 </A::__construct>
/PHP-8.1/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-8.1/ext/intl/tests/
H A Dbreakiter___construct_error.phpt2 IntlRuleBasedBreakIterator::__construct(): arg errors
41 $rbbi->__construct(".;");
47 Exception: IntlRuleBasedBreakIterator::__construct(): unable to create RuleBasedBreakIterator from …
49 Exception: IntlRuleBasedBreakIterator::__construct() expects at least 1 argument, 0 given in %s on …
51 Exception: IntlRuleBasedBreakIterator::__construct() expects at most 2 arguments, 3 given in %s on …
53 Exception: IntlRuleBasedBreakIterator::__construct(): Argument #2 ($compiled) must be of type bool,…
55 Exception: IntlRuleBasedBreakIterator::__construct(): unable to create instance from compiled rules…
/PHP-8.1/ext/pdo/tests/
H A Dpdo_010.phpt32 public function __construct()
40 public function __construct()
48 public function __construct()
63 Test1::__construct()
64 Test2::__construct()
65 Test3::__construct()
102 Test1::__construct()
103 Test2::__construct()
104 Test3::__construct()
/PHP-8.1/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-8.1/ext/phar/tests/
H A Dphar_oo_006.phpt14 function __construct($what)
17 parent::__construct($what);
44 MyFile::__construct(phar://%s/a.php)
46 MyFile::__construct(phar://%s/b/c.php)
48 MyFile::__construct(phar://%s/b.php)
/PHP-8.1/Zend/tests/traits/
H A Dmethods_003.phpt2 Testing __construct and __destruct with Trait
7 public function __construct() {
23 string(11) "__construct"

Completed in 30 milliseconds

12345678910>>...45