Home
last modified time | relevance | path

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

1234567

/PHP-8.0/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.0/tests/lang/
H A D030.phpt2 $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.0/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.0/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
H A Dobjects_010.phpt2 redefining constructor (__construct second)
/PHP-8.0/ext/spl/
H A Dspl_engine.h29 zend_call_known_instance_method_with_1_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1); in spl_instantiate_arg_ex1()
37 pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_arg_ex2()
44 zend_call_known_instance_method(pce->constructor, Z_OBJ_P(retval), NULL, argc, argv); in spl_instantiate_arg_n()
/PHP-8.0/ext/mysqli/tests/
H A Dbug29311.phpt2 Bug #29311 (Cannot override mysqli constructor)
12 /* class 1 calls parent constructor */
20 /* class 2 has an own constructor */
29 /* class 3 has no constructor */
H A D063.phpt2 resultset constructor
23 // an exception should be thrown from prepare (i.e. constructor) not from execute
H A Dmysqli_fetch_object_no_constructor.phpt2 mysqli_fetch_object() - calling constructor on class wo constructor
60 …args) must be empty when the specified class (mysqli_fetch_object_test) does not have a constructor
/PHP-8.0/ext/date/tests/
H A Dbug-gh8471.phpt47 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 Dbug48476.phpt35 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 Doo_001.phpt67 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
/PHP-8.0/ext/intl/tests/
H A Dcalendar_toDateTime_error.phpt45 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception…
48 Warning: intlcal_to_date_time(): intlcal_to_date_time: DateTimeZone constructor threw exception in …
51 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception…
54 Warning: intlcal_to_date_time(): intlcal_to_date_time: DateTimeZone constructor threw exception in …
/PHP-8.0/ext/session/tests/
H A Dsession_set_save_handler_class_007.phpt19 echo "(#$this->num) constructor called\n";
60 (#1) constructor called
64 (#2) constructor called
/PHP-8.0/ext/gd/tests/
H A Dimagegammacorrect_variation2.phpt21 function test_gamma($in, $out, $constructor)
23 $im = $constructor(640, 480);
34 $kind = $constructor === 'imagecreate' ? 'palette' : 'truecolor';
/PHP-8.0/ext/standard/tests/file/
H A Dbug38450.phpt2 Bug #38450 (constructor is not called for classes used in userspace stream wrappers)
11 var_dump("constructor!");
105 string(12) "constructor!"
H A Dbug38450_1.phpt2 Bug #38450 (constructor is not called for classes used in userspace stream wrappers)
11 var_dump("constructor!");
105 string(12) "constructor!"

Completed in 24 milliseconds

1234567