/PHP-5.3/tests/classes/ |
H A D | type_hinting_004.phpt | 31 echo "in C::f1 (instance);\n"; 38 echo "in C::f2 (instance);\n"; 56 echo "in C::f1 (instance);\n"; 63 echo "in C::f2 (instance);\n"; 101 ---> Type hints with callback instance method: 103 in C::f1 (instance); 104 in C::f1 (instance); 106 in C::f2 (instance); 107 in C::f2 (instance); 108 in C::f2 (instance); [all …]
|
H A D | static_properties_003_error1.phpt | 2 Attempting to access static properties using instance property syntax 10 echo "\n--> Access non-visible static prop like instance prop:\n"; 16 --> Access non-visible static prop like instance prop:
|
H A D | static_properties_003_error2.phpt | 2 Attempting to access static properties using instance property syntax 10 echo "\n--> Access non-visible static prop like instance prop:\n"; 16 --> Access non-visible static prop like instance prop:
|
H A D | static_properties_003_error3.phpt | 2 Attempting to access static properties using instance property syntax 10 echo "\n--> Access non-visible static prop like instance prop:\n"; 16 --> Access non-visible static prop like instance prop:
|
H A D | static_properties_003_error4.phpt | 2 Attempting to access static properties using instance property syntax 10 echo "\n--> Access non-visible static prop like instance prop:\n"; 16 --> Access non-visible static prop like instance prop:
|
H A D | static_properties_003.phpt | 2 Attempting to access static properties using instance property syntax 12 echo "\n--> Access visible static prop like instance prop:\n"; 21 echo "\n--> Access non-visible static prop like instance prop:\n"; 30 --> Access visible static prop like instance prop: 47 --> Access non-visible static prop like instance prop:
|
/PHP-5.3/tests/lang/ |
H A D | bug22510.phpt | 36 $this->instance = new foo(); 37 $this->instance->method1($this); 38 $this->instance->method1($this); 43 $this->instance = new foo(); 44 $this->instance->method2($this); 45 $this->instance->method2($this); 50 $this->instance = new foo(); 81 $bar->instance->finalize(); 84 $bar->instance->finalize(); 87 $bar->instance->finalize(); [all …]
|
H A D | foreachLoopObjects.002.phpt | 173 --> Using instance of C: 193 --> Using instance of D: 218 --> Using instance of E: 248 --> Using instance of C: 268 --> Using instance of D: 293 --> Using instance of E: 323 --> Using instance of C: 377 --> Using instance of D: 447 --> Using instance of E: 527 --> Using instance of C: [all …]
|
/PHP-5.3/Zend/tests/ |
H A D | call_user_func_003.phpt | 7 static $instance; 9 if (is_null($instance)) { 10 $instance = function () { 15 return $instance; 27 [%u|b%"instance"]=>
|
H A D | bug34045.phpt | 7 private static $instance; 10 self::$instance = $this; 14 if (!(self::$instance instanceof BasicSingleton)) { 16 self::$instance = new $c; 18 return self::$instance;
|
H A D | bug32322.phpt | 2 Bug #32322 (Return values by reference broken( using self::),example singleton instance) 9 private static $instance = null; 20 if ( self::$instance == null ) 22 self::$instance = new test('Singleton1'); 25 echo "Using old class " . self::$instance -> myname . "\n"; 27 return self::$instance; 51 echo "Try static instance inside class :\n"; 57 echo "Try static instance inside function :\n"; 67 Try static instance inside class : 73 Try static instance inside function :
|
H A D | bug39721.phpt | 7 public $instance; 10 $this->instance = ++self::$instances; 25 echo $foo->instance . "\n"; 26 echo $child->instance . "\n";
|
H A D | bug51176.phpt | 16 echo "instance\n"; 30 instance 31 instance 32 instance
|
H A D | bug47165.phpt | 9 static $instance = null; 10 $instance = new Foo(); 11 return $instance->bar;
|
H A D | bug41961.phpt | 14 echo "Called private " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n"; 24 echo "Called public " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n"; 29 Called public ChildClass::secret() on an instance of: ChildClass
|
H A D | errmsg_041.phpt | 2 errmsg: instanceof expects an object instance, constant given 11 Fatal error: instanceof expects an object instance, constant given in %s on line %d
|
/PHP-5.3/ext/reflection/tests/ |
H A D | ReflectionObject_getConstants_basic.phpt | 20 echo "Reflecting on instance of class $class: \n"; 27 Reflecting on instance of class C: 32 Reflecting on instance of class D: 37 Reflecting on instance of class E: 42 Reflecting on instance of class F: 47 Reflecting on instance of class X:
|
H A D | ReflectionObject_getConstant_basic.phpt | 20 echo "Reflecting on instance of class $class: \n"; 27 Reflecting on instance of class C: 30 Reflecting on instance of class D: 33 Reflecting on instance of class E: 36 Reflecting on instance of class F: 39 Reflecting on instance of class X:
|
/PHP-5.3/ext/pdo/tests/ |
H A D | pdo_036.phpt | 8 $instance = new reflectionclass('pdorow'); 9 $x = $instance->newInstance(); 12 $instance = new reflectionclass('pdostatement'); 13 $x = $instance->newInstance();
|
/PHP-5.3/ext/standard/tests/class_object/ |
H A D | get_declared_classes_variation1.phpt | 18 echo "\n-- before instance is declared --\n"; 21 echo "\n-- after instance is declared --\n"; 31 -- before instance is declared -- 34 -- after instance is declared --
|
H A D | get_class_vars_variation2.phpt | 54 echo "\n-- From inside an object instance --\n"; 55 $instance = new Tester(); 56 $instance->test(); 62 echo "\n-- From inside an parent object instance --\n"; 70 echo "\n-- From inside a child object instance --\n"; 89 -- From inside an object instance -- 121 -- From inside an parent object instance -- 145 -- From inside a child object instance --
|
/PHP-5.3/ext/pdo_odbc/ |
H A D | pdo_odbc.c | 98 char *instance = INI_STR("pdo_odbc.db2_instance_name"); in PHP_INI_END() local 99 if (instance) { in PHP_INI_END() 100 char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); in PHP_INI_END() 105 strcat(env, instance); in PHP_INI_END()
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_multisort_variation7.phpt | 30 'instance of classWithToString' => new classWithToString(), 31 'instance of classWithoutToString' => new classWithoutToString(), 55 ["instance of classWithToString"]=> 58 ["instance of classWithoutToString"]=>
|
H A D | array_multisort_variation8.phpt | 36 'instance of classWithToString' => new classWithToString(), 37 'instance of classWithoutToString' => new classWithoutToString(), 56 ["instance of classWithoutToString"]=> 68 ["instance of classWithToString"]=>
|
/PHP-5.3/ext/spl/tests/ |
H A D | fixedarray_003.phpt | 29 echo "==Direct instance==\n"; 39 echo "==Child instance==\n"; 52 ==Direct instance== 58 ==Child instance==
|