/PHP-8.1/ext/date/tests/ |
H A D | bug67118_2.phpt | 8 public function __construct($time = null) { 12 parent::__construct($time, $tz); 16 parent::__construct($time.'C', $tz);
|
H A D | bug78139.phpt | 44 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 D | bug70266.phpt | 2 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 D | entityreference.phpt | 2 Manually call __construct() - entity reference variation 10 $entityRef->__construct('foo2'); 21 $entityRef->__construct('foo3');
|
H A D | processinginstruction.phpt | 2 Manually call __construct() - processing instruction variation 10 $pi->__construct('name2', 'value2'); 21 $pi->__construct('name3', 'value3');
|
H A D | text.phpt | 2 Manually call __construct() - text variation 10 $text->__construct('my new value'); 21 $text->__construct("\nmy new new value");
|
H A D | cdatasection.phpt | 2 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 D | ReflectionFunction_construct.001.phpt | 38 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 D | constructor_promotion.phpt | 8 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 D | bug38217.phpt | 7 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 D | gh11937_1.inc | 5 public function __construct(public $value) {} 9 public function __construct(public $value) {}
|
H A D | ReflectionClass_constructor_002.phpt | 49 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 D | CallbackFilterIteratorTest-002.phpt | 45 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 D | gh8366.phpt | 2 Bug GH-8366 (ArrayIterator may leak when calling __construct()) 7 $it->__construct([]);
|
/PHP-8.1/ext/pdo/tests/ |
H A D | pdo_012.phpt | 29 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 D | pdo_013.phpt | 35 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 D | pdo_009.phpt | 32 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 D | objects_010.phpt | 2 redefining constructor (__construct second) 9 function __construct() {
|
H A D | objects_011.phpt | 2 redefining constructor (__construct first) 9 function __construct() {
|
H A D | ns_072.phpt | 13 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 D | spl_directory.stub.php | 8 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 D | bug33263.phpt | 2 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 D | foreachLoopIteratorAggregate.004.phpt | 10 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 D | no-constructors.phpt | 7 public function __construct() {} 12 Fatal error: Enum may not include __construct in %s on line %d
|
/PHP-8.1/ext/intl/tests/ |
H A D | dateformat___construct_bad_tz_cal.phpt | 2 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…
|