Home
last modified time | relevance | path

Searched refs:__construct (Results 76 – 100 of 923) sorted by relevance

12345678910>>...37

/PHP-7.4/ext/mysqli/tests/
H A Dbug38003.phpt10 private function __construct($hostname, $username, $password, $database) {
11 var_dump("DB::__construct() called");
20 Fatal error: Uncaught Error: Call to private DB::__construct() from invalid context in %s
/PHP-7.4/ext/date/tests/
H A Dbug62500.phpt9 public function __construct($time_spec) {
14 parent::__construct($time_spec);
28 string(%s) "DateInterval::__construct(): Unknown or bad format (blah)"
H A Dbug67118_2.phpt8 public function __construct($time = null) {
12 parent::__construct($time, $tz);
16 parent::__construct($time.'C', $tz);
H A Dbug70266.phpt2 Bug #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
5 var_dump((new ReflectionParameter(['DateInterval', '__construct'], 0))->isOptional());
H A Dbug67118.phpt2 Bug #67118 crashes in DateTime when this used after failed __construct
9 public function __construct($time = 'now', $tz = NULL, $format = NULL)
15 @parent::__construct($time, $tz);
/PHP-7.4/Zend/tests/
H A Dbug40621.phpt7 private function __construct() { }
9 self::__construct();
20 Fatal error: Uncaught Error: Non-static method Foo::__construct() cannot be called statically in %s…
H A Dbug48215_2.phpt2 Bug #48215 - parent::method() calls __construct, case sensitive test
11 function __construct() {
21 #0 %s(%d): c->__construct()
H A Dobjects_010.phpt2 redefining constructor (__construct second)
9 function __construct() {
H A Dobjects_011.phpt2 redefining constructor (__construct first)
9 function __construct() {
H A Dns_071.phpt9 public function __construct(array $x = NULL) {
21 Fatal error: Uncaught TypeError: Argument 1 passed to foo\bar::__construct() must be of the type ar…
23 #0 %s(%d): foo\bar->__construct(Object(stdClass))
H A Dbug77613.phpt6 public function __construct() {
14 private function __construct() {}
/PHP-7.4/Zend/tests/assert/
H A Dexpect_009.phpt9 public function __construct() {
13 public function __construct() {
23 #1 %sexpect_009.php(%d): Two->__construct()
/PHP-7.4/ext/reflection/tests/
H A DReflectionFunction_construct.001.phpt38 Ok - ReflectionFunction::__construct() expects parameter 1 to be string, array given
40 Ok - ReflectionFunction::__construct() expects exactly 1 parameter, 0 given
41 Ok - ReflectionFunction::__construct() expects exactly 1 parameter, 2 given
42 Ok - ReflectionFunction::__construct() expects parameter 1 to be string, array given
H A DReflectionMethod_constructor_basic.phpt7 function __construct() {
13 $methodInfo = new ReflectionMethod("NewCtor::__construct");
19 $methodInfo = new ReflectionMethod("ExtendsNewCtor::__construct");
57 function __construct() {
66 $methodInfo = new ReflectionMethod("OldAndNewCtor::__construct");
70 function __construct() {
79 $methodInfo = new ReflectionMethod("NewAndOldCtor::__construct");
H A Dbug38217.phpt7 public function __construct() {
15 public function __construct($var) {
34 Exception: Too few arguments to function ObjectTwo::__construct(), 0 passed and exactly 1 expected
H A DReflectionMethod_constructor_error1.phpt70 #0 %s ReflectionMethod->__construct('1')
75 #0 %s ReflectionMethod->__construct('3')
80 #0 %s ReflectionMethod->__construct(true, 'foo')
85 #0 %s ReflectionMethod->__construct('TestClass', '1')
90 #0 %s ReflectionMethod->__construct('TestClass')
95 #0 %s ReflectionMethod->__construct('TestClass::foop...')
100 #0 %s ReflectionMethod->__construct('TestCla::foo')
/PHP-7.4/tests/classes/
H A Dfinal_ctor1.phpt2 ZE2 cannot override final __construct
8 public final function __construct()
30 Fatal error: Cannot override final Base::__construct() with Extended::Extended() in %sfinal_ctor1.p…
/PHP-7.4/ext/spl/tests/
H A DCallbackFilterIteratorTest-002.phpt44 CallbackFilterIterator::__construct() expects exactly 2 parameters, 0 given
45 Argument 1 passed to CallbackFilterIterator::__construct() must implement interface Iterator, null …
46 CallbackFilterIterator::__construct() expects parameter 2 to be a valid callback, no array or strin…
47 CallbackFilterIterator::__construct() expects parameter 2 to be a valid callback, array must have e…
H A Dfixedarray_005.phpt27 Ok - SplFixedArray::__construct() expects parameter 1 to be int, object given
28 Ok - SplFixedArray::__construct() expects parameter 1 to be int, string given
29 Ok - SplFixedArray::__construct() expects parameter 1 to be int, string given
H A Dbug71412.phpt5 echo (new ReflectionMethod('ArrayIterator', '__construct'));
8 Method [ <internal:SPL, ctor> public method __construct ] {
/PHP-7.4/ext/pdo_sqlite/tests/
H A Dbug43831.phpt9 function __construct($dsn) {
10 parent::__construct($dsn, null, null, array(PDO::ATTR_PERSISTENT => true));
15 function __construct($dsn) {
16 parent::__construct($dsn, null, null, array(PDO::ATTR_PERSISTENT => true));
H A Dbug48773.phpt11 private function __construct() {
17 function __construct($dsn, $username, $password, $driver_options = array()) {
19 parent::__construct($dsn, $username, $password, $driver_options);
/PHP-7.4/ext/pdo/tests/
H A Dpdo_012.phpt28 function __construct($name = 'N/A')
63 Test::__construct(N/A)
64 Test::__construct(N/A)
81 Test::__construct(Changed)
82 Test::__construct(Changed)
H A Dpdo_009.phpt31 public function __construct()
39 public function __construct()
47 public function __construct()
99 Test1::__construct()
100 Test2::__construct()
101 Test3::__construct()
H A Dpdo_013.phpt34 function __construct($name = 'N/A')
69 Test::__construct(N/A)
76 Test::__construct(N/A)
83 Test::__construct(WOW)
90 Test::__construct(WOW)

Completed in 25 milliseconds

12345678910>>...37