Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 25 of 196) sorted by relevance

12345678

/PHP-8.3/ext/date/tests/
H A DDateTime_uninitialised_exceptions.phpt61 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
62 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
63 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
64 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
65 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
66 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
67 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
68 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
69 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
70 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
[all …]
H A DDateTimeImmutable_uninitialised_exceptions.phpt55 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
56 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
57 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
58 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
59 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
60 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
61 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
62 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
63 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
64 …meImmutable) has not been correctly initialized by calling parent::__construct() in its constructor
[all …]
H A DDateTimeZone_uninitialised_exceptions.phpt48 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
49 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
50 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
51 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
52 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
53 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
54 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
55 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
56 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
57 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
[all …]
H A DDatePeriod_uninitialised_exceptions.phpt40 … DatePeriod) has not been correctly initialized by calling parent::__construct() in its constructor
41 … DatePeriod) has not been correctly initialized by calling parent::__construct() in its constructor
42 … DatePeriod) has not been correctly initialized by calling parent::__construct() in its constructor
43 …e DatePeriod has not been correctly initialized by calling parent::__construct() in its constructor
H A Dbug-gh8471.phpt47 …ype DateTime has not been correctly initialized by calling parent::__construct() in its constructor
48 …ype DateTime has not been correctly initialized by calling parent::__construct() in its constructor
49 …imeImmutable has not been correctly initialized by calling parent::__construct() in its constructor
50 …imeImmutable has not been correctly initialized by calling parent::__construct() in its constructor
H A Dbug-gh15582.phpt2 Bug GH-15582: Crash when not calling parent constructor of DateTimeZone
21 Error: The DateTimeZone object has not been correctly initialized by its constructor
H A Dbug48476.phpt35 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
36 …ng DateTime) has not been correctly initialized by calling parent::__construct() in its constructor
37 …ateTimeZone) has not been correctly initialized by calling parent::__construct() in its constructor
/PHP-8.3/Zend/tests/traits/
H A Dbug65576b.phpt2 Bug #65576 (Constructor from trait conflicts with inherited constructor)
11 echo "Trait constructor\n";
19 echo "Parent constructor\n";
31 Parent constructor
32 Trait constructor
H A Dbug65576a.phpt2 Bug #65576 (Constructor from trait conflicts with inherited constructor)
10 echo "Trait constructor\n";
18 echo "Parent constructor\n";
30 Trait constructor
/PHP-8.3/tests/lang/
H A D030.phpt2 $this in constructor test
23 $bar1 =new foo('constructor');
28 $foo = new foo('constructor');
35 print ($names==array('constructor','outside','outside','constructor','outside','outside')) ? 'succe…
/PHP-8.3/ext/reflection/tests/
H A DReflectionMethod_constructor_basic.phpt12 echo "New-style constructor:\n";
18 echo "\nInherited new-style constructor\n";
27 echo "\nNot a constructor:\n";
39 New-style constructor:
42 Inherited new-style constructor
45 Not a constructor:
H A DReflectionObject_getConstructor_basic.phpt43 echo "No constructor for $class\n";
52 No constructor for B
53 No constructor for C
55 No constructor for D2
56 No constructor for X
57 No constructor for Y
H A DReflectionClass_newInstanceArgs_001.phpt11 echo "In constructor of class B with args $a, $b\n";
17 echo "In constructor of class C\n";
23 echo "In constructor of class D\n";
69 In constructor of class B with args x, 123
72 Access to non-public constructor of class C
73 Access to non-public constructor of class D
76 Class E does not have a constructor, so you cannot pass any constructor arguments
H A DReflectionClass_newInstance_001.phpt11 echo "In constructor of class B with args $a, $b\n";
17 echo "In constructor of class C\n";
23 echo "In constructor of class D\n";
72 In constructor of class B with args x, 123
75 Access to non-public constructor of class C
76 Access to non-public constructor of class D
79 Class E does not have a constructor, so you cannot pass any constructor arguments
H A D007.phpt100 string(86) "Class NoCtor does not have a constructor, so you cannot pass any constructor arguments"
102 string(86) "Class NoCtor does not have a constructor, so you cannot pass any constructor arguments"
H A Dbug52854.phpt28 Class Test does not have a constructor, so you cannot pass any constructor arguments
/PHP-8.3/Zend/tests/constexpr/
H A Dnew_not_allowed_property.phpt8 // during object creation, or as part of the constructor. Doing this during object creation
10 // based on newInstanceWithoutConstructor(). Handling this via the constructor is more
11 // promising, but requires injecting code in the constructor, which may require adding a
12 // constructor which is not explicitly declared, which may also require a child class to
13 // call a constructor that has not been explicitly declared, otherwise properties may be
15 // constructor invocation. Overall, the best way to address this is not clear right now.
/PHP-8.3/Zend/tests/
H A Dbug29368_1.phpt2 Bug #29368.1 (The destructor is called when an exception is thrown from the constructor).
12 echo "Inside constructor\n";
28 Inside constructor
H A Dctor_promotion_abstract.phpt2 Constructor promotion cannot be used inside an abstract constructor
12 Fatal error: Cannot declare promoted property in an abstract constructor in %s on line %d
H A Dctor_promotion_interface.phpt2 Constructor promotion cannot be used inside an abstract constructor (interface variant)
12 Fatal error: Cannot declare promoted property in an abstract constructor in %s on line %d
/PHP-8.3/ext/spl/
H A Dspl_engine.h27 zend_call_known_instance_method_with_1_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1); in spl_instantiate_arg_ex1()
35 pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_arg_ex2()
42 zend_call_known_instance_method(pce->constructor, Z_OBJ_P(retval), NULL, argc, argv); in spl_instantiate_arg_n()
/PHP-8.3/ext/mysqli/tests/
H A Dbug29311.phpt2 Bug #29311 (Cannot override mysqli constructor)
13 /* class 1 calls parent constructor */
21 /* class 2 has an own constructor */
30 /* class 3 has no constructor */
/PHP-8.3/ext/intl/tests/
H A Dcalendar_toDateTime_error.phpt43 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception…
46 Warning: intlcal_to_date_time(): intlcal_to_date_time: DateTimeZone constructor threw exception in …
49 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception…
52 Warning: intlcal_to_date_time(): intlcal_to_date_time: DateTimeZone constructor threw exception in …
/PHP-8.3/Zend/tests/fibers/
H A Dmultiple-calls-to-ctor.phpt2 Multiple calls to constructor are prevented
16 Fatal error: Uncaught FiberError: Cannot call constructor twice in %smultiple-calls-to-ctor.php:%d
/PHP-8.3/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_class_007.phpt19 echo "(#$this->num) constructor called\n";
60 (#1) constructor called
64 (#2) constructor called

Completed in 29 milliseconds

12345678