/PHP-5.4/tests/classes/ |
H A D | inheritance_002.phpt | 9 var_dump('Base constructor'); 15 var_dump('Child constructor'); 22 var_dump('Base constructor'); 61 string(17) "Child constructor" 62 string(16) "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" [all …]
|
/PHP-5.4/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_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"; 74 In constructor of class A 75 In constructor of class A 88 In constructor of class B with args , 89 In constructor of class B with args x, 123 94 Access to non-public constructor of class C 95 Access to non-public constructor of class D [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"; 74 In constructor of class A 75 In constructor of class A 88 In constructor of class B with args , 89 In constructor of class B with args x, 123 94 Access to non-public constructor of class C 95 Access to non-public constructor of class D [all …]
|
H A D | ReflectionClass_getConstructor_basic.phpt | 60 echo "No constructor for $class\n"; 67 Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d 78 No constructor for X 79 No constructor for Y
|
H A D | ReflectionObject_getConstructor_basic.phpt | 60 echo "No constructor for $class\n"; 67 Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d 78 No constructor for X 79 No constructor for Y
|
H A D | bug42976.phpt | 2 Bug #42976 (Crash when constructor for newInstance() or newInstanceArgs() fails) 31 Warning: ReflectionClass::newInstance(): Invocation of C's constructor failed in %sbug42976.php on … 36 Warning: ReflectionClass::newInstanceArgs(): Invocation of C's constructor failed in %sbug42976.php…
|
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-5.4/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: "; 33 New constructor: ctor executed 34 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"; 46 ReportCollision: New constructor executed
|
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 29 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 29 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 31 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
|
H A D | bug55554b.phpt | 2 Bug #55137 (Legacy constructor not registered for class) 55 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
|
/PHP-5.4/ext/spl/ |
H A D | spl_engine.h | 37 …zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pc… in spl_instantiate_arg_ex1() 47 …zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pc… in spl_instantiate_arg_ex2()
|
/PHP-5.4/tests/lang/ |
H A D | 030.phpt | 2 $this in constructor test 22 $bar1 =new foo('constructor'); 27 $bar1 =& foo2(new foo('constructor')); 33 print ($names==array('constructor','outside','outside','constructor','outside','outside')) ? 'succe…
|
/PHP-5.4/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 */
|
H A D | mysqli_fetch_object_no_constructor.phpt | 2 mysqli_fetch_object() - calling constructor on class wo constructor 61 Exception: Class mysqli_fetch_object_test does not have a constructor hence you cannot use ctor_par…
|
/PHP-5.4/Zend/tests/ |
H A D | objects_010.phpt | 2 redefining constructor (__construct second) 18 Strict Standards: Redefining already defined constructor for class test in %s on line %d
|
H A D | bug52160.phpt | 2 Bug #52160 (Invalid E_STRICT redefined constructor error) 32 Strict Standards: Redefining already defined constructor for class foo in %s on line %d
|
/PHP-5.4/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-5.4/ext/session/tests/ |
H A D | session_set_save_handler_class_007.phpt | 25 echo "(#$this->num) constructor called\n"; 65 (#1) constructor called 69 (#2) constructor called
|
/PHP-5.4/scripts/dev/generate-phpt/src/ |
H A D | gtMethod.php | 34 $constructor = $reflectionClass->getConstructor(); 35 foreach($constructor->getParameters() as $i => $param) {
|
/PHP-5.4/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!"); 106 string(12) "constructor!"
|