Searched refs:__construct (Results 26 – 50 of 1118) sorted by relevance
12345678910>>...45
/PHP-8.1/Zend/tests/ |
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 | bug61970_1.phpt | 2 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 D | ns_091.phpt | 6 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 D | bug32296.phpt | 6 function __construct(){} 42 [3] => __construct 49 [3] => __construct 54 [1] => __construct 59 [1] => __construct
|
H A D | bug29368_3.phpt | 6 function __construct() { 14 function __construct() { 30 Foo::__construct 31 Bar::__construct
|
H A D | bug31102.phpt | 15 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 D | errmsg_032.phpt | 2 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 D | bug61970.phpt | 2 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 D | iterator_056.phpt | 2 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 D | semi_reserved_007.phpt | 9 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 D | ctor_in_interface_01.phpt | 7 function __construct(); 12 function __construct($a) 19 Fatal error: Declaration of implem::__construct($a) must be compatible with constr::__construct() i…
|
H A D | ctor_in_interface_03.phpt | 7 function __construct(); 16 function __construct($a) 23 Fatal error: Declaration of derived::__construct($a) must be compatible with constr::__construct() …
|
H A D | private_members.phpt | 10 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 D | final_private_ctor.phpt | 8 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 D | DateTime_extends_basic2.phpt | 2 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 D | 007.phpt | 70 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 D | ReflectionObject_getConstructor_basic.phpt | 6 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 D | observer_bug81430_1.phpt | 15 public function __construct() { 28 <!-- init A::__construct() --> 29 <A::__construct> 30 </A::__construct>
|
H A D | observer_bug81430_2.phpt | 14 public function __construct() { 28 <!-- init A::__construct() --> 29 <A::__construct> 32 </A::__construct>
|
/PHP-8.1/ext/soap/tests/ |
H A D | classmap003.phpt | 11 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 D | breakiter___construct_error.phpt | 2 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 D | pdo_010.phpt | 32 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 D | dom_create_element.phpt | 117 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 D | phar_oo_006.phpt | 14 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 D | methods_003.phpt | 2 Testing __construct and __destruct with Trait 7 public function __construct() { 23 string(11) "__construct"
|
Completed in 30 milliseconds
12345678910>>...45