Home
last modified time | relevance | path

Searched refs:__construct (Results 101 – 125 of 1118) sorted by relevance

12345678910>>...45

/PHP-8.1/ext/date/tests/
H A Dbug67118_2.phpt8 public function __construct($time = null) {
12 parent::__construct($time, $tz);
16 parent::__construct($time.'C', $tz);
H A Dbug78139.phpt44 DateTimeZone::__construct(): Unknown or bad timezone (x UTC)
51 DateTimeZone::__construct(): Unknown or bad timezone (xx UTC)
58 DateTimeZone::__construct(): Unknown or bad timezone (xUTC)
65 DateTimeZone::__construct(): Unknown or bad timezone (UTCx)
72 DateTimeZone::__construct(): Unknown or bad timezone (UTC xx)
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());
/PHP-8.1/ext/dom/tests/manually_call_constructor/
H A Dentityreference.phpt2 Manually call __construct() - entity reference variation
10 $entityRef->__construct('foo2');
21 $entityRef->__construct('foo3');
H A Dprocessinginstruction.phpt2 Manually call __construct() - processing instruction variation
10 $pi->__construct('name2', 'value2');
21 $pi->__construct('name3', 'value3');
H A Dtext.phpt2 Manually call __construct() - text variation
10 $text->__construct('my new value');
21 $text->__construct("\nmy new new value");
H A Dcdatasection.phpt2 Manually call __construct() - CDATA section variation
10 $cdata->__construct("my new value");
21 $cdata->__construct("my even newer value");
/PHP-8.1/ext/reflection/tests/
H A DReflectionFunction_construct.001.phpt38 Ok - ReflectionFunction::__construct(): Argument #1 ($function) must be of type Closure|string, arr…
40 Ok - ReflectionFunction::__construct() expects exactly 1 argument, 0 given
41 Ok - ReflectionFunction::__construct() expects exactly 1 argument, 2 given
42 Ok - ReflectionFunction::__construct(): Argument #1 ($function) must be of type Closure|string, arr…
H A Dconstructor_promotion.phpt8 public function __construct(
27 $rp = new ReflectionParameter([Test::class, '__construct'], 'y');
29 $rp = new ReflectionParameter([Test::class, '__construct'], 'z');
53 Method [ <user, ctor> public method __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 Dgh11937_1.inc5 public function __construct(public $value) {}
9 public function __construct(public $value) {}
H A DReflectionClass_constructor_002.phpt49 ReflectionClass::__construct() expects exactly 1 argument, 0 given
51 Deprecated: ReflectionClass::__construct(): Passing null to parameter #1 ($objectOrClass) of type o…
55 ReflectionClass::__construct(): Argument #1 ($objectOrClass) must be of type object|string, array g…
56 ReflectionClass::__construct() expects exactly 1 argument, 2 given
/PHP-8.1/ext/spl/tests/
H A DCallbackFilterIteratorTest-002.phpt45 CallbackFilterIterator::__construct() expects exactly 2 arguments, 0 given
46 CallbackFilterIterator::__construct() expects exactly 2 arguments, 1 given
47 CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, no array o…
48 CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, array must…
H A Dgh8366.phpt2 Bug GH-8366 (ArrayIterator may leak when calling __construct())
7 $it->__construct([]);
/PHP-8.1/ext/pdo/tests/
H A Dpdo_012.phpt29 function __construct($name = 'N/A')
64 Test::__construct(N/A)
65 Test::__construct(N/A)
82 Test::__construct(Changed)
83 Test::__construct(Changed)
H A Dpdo_013.phpt35 function __construct($name = 'N/A')
70 Test::__construct(N/A)
77 Test::__construct(N/A)
84 Test::__construct(WOW)
91 Test::__construct(WOW)
H A Dpdo_009.phpt32 public function __construct()
40 public function __construct()
48 public function __construct()
100 Test1::__construct()
101 Test2::__construct()
102 Test3::__construct()
/PHP-8.1/Zend/tests/
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_072.phpt13 public function __construct(foo $x = NULL) {
33 Fatal error: Uncaught TypeError: foo\bar::__construct(): Argument #1 ($x) must be of type ?foo\foo,…
35 #0 %s(%d): foo\bar->__construct(Object(stdClass))
/PHP-8.1/ext/spl/
H A Dspl_directory.stub.php8 public function __construct(string $filename) {} function in SplFileInfo
106 public function __construct(string $directory) {} function in DirectoryIterator
150 …public function __construct(string $directory, int $flags = FilesystemIterator::KEY_AS_PATHNAME | … function in FilesystemIterator
170 …public function __construct(string $directory, int $flags = FilesystemIterator::KEY_AS_PATHNAME | … function in RecursiveDirectoryIterator
188 …public function __construct(string $pattern, int $flags = FilesystemIterator::KEY_AS_PATHNAME | Fi… function in GlobIterator
198 …public function __construct(string $filename, string $mode = "r", bool $useIncludePath = false, $c… function in SplFileObject
301 public function __construct(int $maxMemory = 2 * 1024 * 1024) {} function in SplTempFileObject
/PHP-8.1/ext/mysqli/tests/
H A Dbug33263.phpt2 Bug #33263 (mysqli_real_connect in __construct)
15 public function __construct($host, $user, $passwd, $db, $port, $socket) {
16 parent::__construct();
/PHP-8.1/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt10 function __construct($obj) {
70 c_iter::__construct
76 c_iter::__construct
86 c_iter::__construct
96 c_iter::__construct
/PHP-8.1/Zend/tests/enum/
H A Dno-constructors.phpt7 public function __construct() {}
12 Fatal error: Enum may not include __construct in %s on line %d
/PHP-8.1/ext/intl/tests/
H A Ddateformat___construct_bad_tz_cal.phpt2 IntlDateFormatter::__construct(): bad timezone or calendar
32 Exception: IntlDateFormatter::__construct(): datefmt_create: No such time zone: 'bad timezone' in %…
34 Exception: IntlDateFormatter::__construct(): datefmt_create: Invalid value for calendar type; it mu…
36 Exception: IntlDateFormatter::__construct(): Argument #5 ($calendar) must be of type IntlCalendar|i…

Completed in 34 milliseconds

12345678910>>...45