Searched refs:constructor (Results 1 – 25 of 192) sorted by relevance
12345678
/PHP-7.2/tests/classes/ |
H A D | inheritance_002.phpt | 7 var_dump('Base constructor'); 13 var_dump('Child constructor'); 20 var_dump('Base constructor'); 64 string(17) "Child constructor" 65 string(16) "Base constructor" 67 string(17) "Child constructor" 68 string(16) "Base constructor" 70 string(17) "Child constructor" 71 string(16) "Base constructor" 73 string(17) "Child constructor" [all …]
|
H A D | final_ctor3.phpt | 2 Ensure implicit final inherited old-style constructor cannot be overridden. 13 …ill not be constructors in a future version of PHP; A has a deprecated constructor in %s on line %d
|
/PHP-7.2/Zend/tests/traits/ |
H A D | bug55554a.phpt | 2 Bug #55137 (Legacy constructor not registered for class) 9 public function constructor() { 16 constructor as __construct; 22 constructor as LegacyConstructor; 26 echo "New constructor: "; 29 echo "Legacy constructor: "; 32 New constructor: ctor executed 33 Legacy constructor: ctor executed
|
H A D | bug55554c.phpt | 2 Bug #55137 (Legacy constructor not registered for class) 9 // and the two constructor definitions do not directly collide in that case. 33 echo "New constructor executed\n"; 36 echo "Legacy constructor executed\n"; 44 ReportCollision: New constructor executed
|
H A D | bug65576b.phpt | 2 Bug #65576 (Constructor from trait conflicts with inherited constructor) 19 echo "Parent constructor\n"; 30 Parent constructor
|
H A D | bug55554f.phpt | 2 Bug #55137 (Legacy constructor not registered for class) 6 // Ensuring that inconsistent constructor use results in an error to avoid 27 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
|
H A D | bug55554g.phpt | 2 Bug #55137 (Legacy constructor not registered for class) 6 // Ensuring that inconsistent constructor use results in an error to avoid 27 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
|
H A D | bug55554d.phpt | 2 Bug #55137 (Legacy constructor not registered for class) 8 // It is not consistent with the normal constructor handling, but 29 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
|
H A D | bug65576a.phpt | 2 Bug #65576 (Constructor from trait conflicts with inherited constructor) 18 echo "Parent constructor\n";
|
H A D | bug55554b.phpt | 2 Bug #55137 (Legacy constructor not registered for class) 52 …ctors in a future version of PHP; OverridingIsSilent2 has a deprecated constructor in %s on line %d 55 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionMethod_constructor_basic.phpt | 12 echo "New-style constructor:\n"; 27 echo "\nOld-style constructor:\n"; 42 echo "\nNot a constructor:\n"; 89 New-style constructor: 92 Inherited new-style constructor 95 Old-style constructor: 98 Inherited old-style constructor: 101 Not a constructor: 107 Old-style constructor: 110 Redefined constructor: [all …]
|
H A D | ReflectionClass_newInstanceArgs_001.phpt | 10 echo "In constructor of class A\n"; 16 echo "In constructor of class B with args $a, $b\n"; 22 echo "In constructor of class C\n"; 28 echo "In constructor of class D\n"; 88 …ill not be constructors in a future version of PHP; A has a deprecated constructor in %s on line %d 89 In constructor of class A 92 In constructor of class A 96 In constructor of class B with args x, 123 99 Access to non-public constructor of class C 100 Access to non-public constructor of class D [all …]
|
H A D | ReflectionClass_newInstance_001.phpt | 10 echo "In constructor of class A\n"; 16 echo "In constructor of class B with args $a, $b\n"; 22 echo "In constructor of class C\n"; 28 echo "In constructor of class D\n"; 81 …ill not be constructors in a future version of PHP; A has a deprecated constructor in %s on line %d 82 In constructor of class A 83 In constructor of class A 89 In constructor of class B with args x, 123 92 Access to non-public constructor of class C 93 Access to non-public constructor of class D [all …]
|
H A D | ReflectionObject_getConstructor_basic.phpt | 60 echo "No constructor for $class\n"; 67 …t be constructors in a future version of PHP; OldCtor has a deprecated constructor in %s on line %d 69 …ill not be constructors in a future version of PHP; B has a deprecated constructor in %s on line %d 71 …ill not be constructors in a future version of PHP; C has a deprecated constructor in %s on line %d 82 No constructor for X 83 No constructor for Y
|
H A D | ReflectionClass_getConstructor_basic.phpt | 60 echo "No constructor for $class\n"; 67 …t be constructors in a future version of PHP; OldCtor has a deprecated constructor in %s on line %d 69 …ill not be constructors in a future version of PHP; B has a deprecated constructor in %s on line %d 71 …ill not be constructors in a future version of PHP; C has a deprecated constructor in %s on line %d 82 No constructor for X 83 No constructor for Y
|
H A D | 007.phpt | 102 string(86) "Class NoCtor does not have a constructor, so you cannot pass any constructor arguments" 104 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-7.2/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-7.2/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 | bug52051.phpt | 26 …ll not be constructors in a future version of PHP; AA has a deprecated constructor in %s on line %d 28 …ll not be constructors in a future version of PHP; CC has a deprecated constructor in %s on line %d 30 …ill not be constructors in a future version of PHP; A has a deprecated constructor in %s on line %d 32 …ill not be constructors in a future version of PHP; C has a deprecated constructor in %s on line %d
|
H A D | bug40784.phpt | 2 Bug #40784 (Case sensivity in constructor's fallback) 22 …ill not be constructors in a future version of PHP; A has a deprecated constructor in %s on line %d
|
H A D | dynamic_call_001.phpt | 2 Testing dynamic call to constructor (old-style) 17 …l not be constructors in a future version of PHP; foo has a deprecated constructor in %s on line %d
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | bug29311.phpt | 2 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 */
|
/PHP-7.2/ext/date/tests/ |
H A D | bug48476.phpt | 24 …ormat(): The DateTime object has not been correctly initialized by its constructor in %sbug48476.p… 27 …ormat(): The DateTime object has not been correctly initialized by its constructor in %sbug48476.p… 30 …t(): The DateTimeZone object has not been correctly initialized by its constructor in %sbug48476.p…
|
/PHP-7.2/ext/spl/ |
H A D | spl_engine.h | 35 zend_function *func = pce->constructor; in spl_instantiate_arg_ex1() 46 zend_function *func = pce->constructor; in spl_instantiate_arg_ex2() 57 zend_function *func = pce->constructor; in spl_instantiate_arg_n()
|
Completed in 28 milliseconds
12345678