Home
last modified time | relevance | path

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

123456

/PHP-5.3/tests/classes/
H A Dinheritance_002.phpt9 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.3/ext/reflection/tests/
H A DReflectionMethod_constructor_basic.phpt12 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 DReflectionClass_newInstance_001.phpt10 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 DReflectionClass_newInstanceArgs_001.phpt10 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 DReflectionClass_getConstructor_basic.phpt60 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 DReflectionObject_getConstructor_basic.phpt60 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 Dbug42976.phpt2 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 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-5.3/ext/spl/
H A Dspl_engine.h37 …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.3/tests/lang/
H A D030.phpt2 $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.3/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 Dmysqli_fetch_object_no_constructor.phpt2 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.3/Zend/tests/
H A Dobjects_010.phpt2 redefining constructor (__construct second)
18 Strict Standards: Redefining already defined constructor for class test in %s on line %d
H A Dbug52160.phpt2 Bug #52160 (Invalid E_STRICT redefined constructor error)
32 Strict Standards: Redefining already defined constructor for class foo in %s on line %d
H A Dobjects_011.phpt2 redefining constructor (__construct first)
/PHP-5.3/ext/date/tests/
H A Dbug48476.phpt24 …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…
H A Doo_001.phpt44 …ormat(): The DateTime object has not been correctly initialized by its constructor in %soo_001.php…
49 …e(): The DateTimeZone object has not been correctly initialized by its constructor in %soo_001.php…
/PHP-5.3/scripts/dev/generate-phpt/src/
H A DgtMethod.php34 $constructor = $reflectionClass->getConstructor();
35 foreach($constructor->getParameters() as $i => $param) {
/PHP-5.3/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!");
106 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!");
106 string(12) "constructor!"
H A Dbug38450_2.phpt2 Bug #38450 (constructor is not called for classes used in userspace stream wrappers)
11 throw new Exception("constructor");
109 Fatal error: Uncaught exception 'Exception' with message 'constructor' in %s:%d
/PHP-5.3/Zend/
H A Dzend_object_handlers.c996 fbc = ce->constructor; in zend_std_get_static_method()
1107 zend_function *constructor = zobj->ce->constructor; in zend_std_get_constructor() local
1109 if (constructor) { in zend_std_get_constructor()
1110 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_constructor()
1112 } else if (constructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_constructor()
1115 if (constructor->common.scope != EG(scope)) { in zend_std_get_constructor()
1117 …_ERROR, "Call to private %s::%s() from context '%s'", constructor->common.scope->name, constructor in zend_std_get_constructor()
1119 …ROR, "Call to private %s::%s() from invalid context", constructor->common.scope->name, constructor in zend_std_get_constructor()
1129 …RROR, "Call to protected %s::%s() from context '%s'", constructor->common.scope->name, constructor in zend_std_get_constructor()
1131 …R, "Call to protected %s::%s() from invalid context", constructor->common.scope->name, constructor in zend_std_get_constructor()
[all …]
/PHP-5.3/ext/spl/tests/
H A DSplFileInfo_001.phpt2 Testing SplFileInfo calling the constructor twice
/PHP-5.3/ext/fileinfo/tests/
H A Dfinfo_open_002.phpt2 FileInfo - Calling the constructor twice

Completed in 72 milliseconds

123456