Searched refs:__construct (Results 76 – 100 of 923) sorted by relevance
12345678910>>...37
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug38003.phpt | 10 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 D | bug62500.phpt | 9 public function __construct($time_spec) { 14 parent::__construct($time_spec); 28 string(%s) "DateInterval::__construct(): Unknown or bad format (blah)"
|
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 | bug70266.phpt | 2 Bug #70266 (DateInterval::__construct.interval_spec is not supposed to be optional) 5 var_dump((new ReflectionParameter(['DateInterval', '__construct'], 0))->isOptional());
|
H A D | bug67118.phpt | 2 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 D | bug40621.phpt | 7 private function __construct() { } 9 self::__construct(); 20 Fatal error: Uncaught Error: Non-static method Foo::__construct() cannot be called statically in %s…
|
H A D | bug48215_2.phpt | 2 Bug #48215 - parent::method() calls __construct, case sensitive test 11 function __construct() { 21 #0 %s(%d): c->__construct()
|
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_071.phpt | 9 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 D | bug77613.phpt | 6 public function __construct() { 14 private function __construct() {}
|
/PHP-7.4/Zend/tests/assert/ |
H A D | expect_009.phpt | 9 public function __construct() { 13 public function __construct() { 23 #1 %sexpect_009.php(%d): Two->__construct()
|
/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionFunction_construct.001.phpt | 38 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 D | ReflectionMethod_constructor_basic.phpt | 7 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 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 | ReflectionMethod_constructor_error1.phpt | 70 #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 D | final_ctor1.phpt | 2 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 D | CallbackFilterIteratorTest-002.phpt | 44 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 D | fixedarray_005.phpt | 27 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 D | bug71412.phpt | 5 echo (new ReflectionMethod('ArrayIterator', '__construct')); 8 Method [ <internal:SPL, ctor> public method __construct ] {
|
/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | bug43831.phpt | 9 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 D | bug48773.phpt | 11 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 D | pdo_012.phpt | 28 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 D | pdo_009.phpt | 31 public function __construct() 39 public function __construct() 47 public function __construct() 99 Test1::__construct() 100 Test2::__construct() 101 Test3::__construct()
|
H A D | pdo_013.phpt | 34 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