/PHP-8.1/Zend/tests/traits/ |
H A D | bug65576b.phpt | 2 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 D | bug65576a.phpt | 2 Bug #65576 (Constructor from trait conflicts with inherited constructor) 10 echo "Trait constructor\n"; 18 echo "Parent constructor\n"; 30 Trait constructor
|
/PHP-8.1/tests/lang/ |
H A D | 030.phpt | 2 $this in constructor test 22 $bar1 =new foo('constructor'); 27 $foo = new foo('constructor'); 34 print ($names==array('constructor','outside','outside','constructor','outside','outside')) ? 'succe…
|
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionMethod_constructor_basic.phpt | 12 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 D | ReflectionObject_getConstructor_basic.phpt | 43 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 D | ReflectionClass_newInstanceArgs_001.phpt | 11 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 D | ReflectionClass_newInstance_001.phpt | 11 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 D | 007.phpt | 100 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 D | bug52854.phpt | 28 Class Test does not have a constructor, so you cannot pass any constructor arguments
|
/PHP-8.1/Zend/tests/constexpr/ |
H A D | new_not_allowed_property.phpt | 8 // 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.1/Zend/tests/ |
H A D | bug29368_1.phpt | 2 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 D | ctor_promotion_interface.phpt | 2 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
|
H A D | ctor_promotion_abstract.phpt | 2 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
|
/PHP-8.1/ext/spl/ |
H A D | spl_engine.h | 27 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.1/ext/mysqli/tests/ |
H A D | bug29311.phpt | 2 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 */
|
H A D | 063.phpt | 2 resultset constructor 24 // an exception should be thrown from prepare (i.e. constructor) not from execute
|
H A D | mysqli_fetch_object_no_constructor.phpt | 2 mysqli_fetch_object() - calling constructor on class wo constructor 61 …args) must be empty when the specified class (mysqli_fetch_object_test) does not have a constructor
|
/PHP-8.1/ext/date/tests/ |
H A D | bug-gh8471.phpt | 47 The DateTime object has not been correctly initialized by its constructor 48 The DateTimeInterface object has not been correctly initialized by its constructor 49 The DateTimeImmutable object has not been correctly initialized by its constructor 50 The DateTimeInterface object has not been correctly initialized by its constructor
|
H A D | bug48476.phpt | 35 The DateTime object has not been correctly initialized by its constructor 36 The DateTime object has not been correctly initialized by its constructor 37 The DateTimeZone object has not been correctly initialized by its constructor
|
H A D | oo_001.phpt | 67 The DateTime object has not been correctly initialized by its constructor 70 The DateTimeZone object has not been correctly initialized by its constructor 72 The DatePeriod object has not been correctly initialized by its constructor 73 The DatePeriod object has not been correctly initialized by its constructor
|
H A D | bug-gh11416.phpt | 26 Error: The DateTimeInterface object has not been correctly initialized by its constructor 27 Error: The DateTimeInterface object has not been correctly initialized by its constructor
|
/PHP-8.1/ext/intl/tests/ |
H A D | calendar_toDateTime_error.phpt | 43 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.1/ext/session/tests/ |
H A D | session_set_save_handler_class_007.phpt | 21 echo "(#$this->num) constructor called\n"; 62 (#1) constructor called 66 (#2) constructor called
|
/PHP-8.1/ext/gd/tests/ |
H A D | imagegammacorrect_variation2.phpt | 19 function test_gamma($in, $out, $constructor) 21 $im = $constructor(640, 480); 32 $kind = $constructor === 'imagecreate' ? 'palette' : 'truecolor';
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | bug38450.phpt | 2 Bug #38450 (constructor is not called for classes used in userspace stream wrappers) 11 var_dump("constructor!"); 105 string(12) "constructor!"
|