Home
last modified time | relevance | path

Searched refs:instance (Results 26 – 50 of 764) sorted by relevance

12345678910>>...31

/PHP-7.2/ext/reflection/tests/
H A DReflectionProperty_getValue_error.phpt17 $instance = new TestClass();
25 var_dump($propInfo->getValue($instance, true));
34 var_dump($propInfo->getValue($instance, true));
42 var_dump($propInfo->getValue($instance));
48 echo "\n\nInvalid instance:\n";
80 Invalid instance:
82 Fatal error: Uncaught ReflectionException: Given object is not an instance of the class this proper…
H A DReflectionProperty_setValue_error.phpt17 $instance = new TestClass();
23 var_dump($propInfo->setValue($instance));
26 var_dump($propInfo->setValue($instance, "NewValue", true));
33 var_dump($propInfo->setValue($instance, "NewValue", true));
48 var_dump($propInfo->setValue($instance, "NewValue"));
/PHP-7.2/tests/classes/
H A Dstatic_properties_003_error1.phpt2 Attempting to access static properties using instance property syntax
10 echo "\n--> Access non-visible static prop like instance prop:\n";
15 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error2.phpt2 Attempting to access static properties using instance property syntax
10 echo "\n--> Access non-visible static prop like instance prop:\n";
15 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error3.phpt2 Attempting to access static properties using instance property syntax
10 echo "\n--> Access non-visible static prop like instance prop:\n";
15 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error4.phpt2 Attempting to access static properties using instance property syntax
10 echo "\n--> Access non-visible static prop like instance prop:\n";
15 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003.phpt2 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:
H A D__call_006.phpt31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n";
38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n";
61 ---> Invoke __call via scope resolution operator within instance.
67 ---> Invoke __call via scope resolution operator within child instance.
H A D__call_007.phpt31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n";
38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n";
62 ---> Invoke __call via scope resolution operator within instance.
68 ---> Invoke __call via scope resolution operator within child instance.
/PHP-7.2/ext/standard/tests/class_object/
H A Dget_class_vars_variation2.phpt54 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-7.2/Zend/tests/
H A Dclosure_041.phpt8 * to having a bound instance. */
47 echo "After binding, no instance", "\n";
55 echo "After binding, with same-class instance for the bound ones", "\n";
61 echo "After binding, with different instance for the bound ones", "\n";
76 After binding, no instance
85 After binding, with same-class instance for the bound ones
87 Warning: Cannot bind an instance to a static closure in %s on line %d
91 Warning: Cannot bind an instance to a static closure in %s on line %d
94 After binding, with different instance for the bound ones
H A Dbug41961.phpt14 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 Derrmsg_041.phpt2 errmsg: instanceof expects an object instance, constant given
11 Fatal error: instanceof expects an object instance, constant given in %s on line %d
H A Dbug71275.phpt22 $instance = new MyClass();
23 clone $instance;
H A Dbug69761.phpt5 $instance = new class('foo') {
9 var_dump(serialize($instance));
/PHP-7.2/ext/intl/tests/
H A Dcalendar_equals_error.phpt51 error: 0, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, instance
53 error: 0, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, integer …
55 error: 0, Argument 2 passed to intlcal_equals() must be an instance of IntlCalendar, array given
57 error: 0, Argument 1 passed to intlcal_equals() must be an instance of IntlCalendar, integer given
/PHP-7.2/ext/pdo_odbc/
H A Dpdo_odbc.c92 char *instance = INI_STR("pdo_odbc.db2_instance_name"); in PHP_INI_END() local
93 if (instance) { in PHP_INI_END()
94 char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); in PHP_INI_END()
99 strcat(env, instance); in PHP_INI_END()
/PHP-7.2/Zend/tests/typehints/
H A Dor_null.phpt222 …Error: Argument 1 passed to unloadedClass() must be an instance of I\Dont\Exist or null, instance
226 TypeError: Argument 1 passed to loadedClass() must be an instance of RealClass or null, instance of…
234 TypeError: Argument 1 passed to unloadedClass() must be an instance of I\Dont\Exist or null, intege…
238 TypeError: Argument 1 passed to loadedClass() must be an instance of RealClass or null, integer giv…
258 …rror: Return value of returnUnloadedClass() must be an instance of I\Dont\Exist or null, instance
262 TypeError: Return value of returnLoadedClass() must be an instance of RealClass or null, instance o…
266 …urnLoadedInterface() must implement interface RealInterface or be null, instance of stdClass retur…
270 TypeError: Return value of returnUnloadedClassScalar() must be an instance of I\Dont\Exist or null,…
274 TypeError: Return value of returnLoadedClassScalar() must be an instance of RealClass or null, inte…
294 TypeError: Return value of returnMissingUnloadedClass() must be an instance of I\Dont\Exist or null…
[all …]
/PHP-7.2/tests/lang/
H A DforeachLoopObjects.002.phpt173 --> 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-7.2/ext/standard/tests/array/
H A Darray_multisort_variation7.phpt30 'instance of classWithToString' => new classWithToString(),
31 'instance of classWithoutToString' => new classWithoutToString(),
59 ["instance of classWithToString"]=>
64 ["instance of classWithoutToString"]=>
H A Darray_multisort_variation8.phpt36 'instance of classWithToString' => new classWithToString(),
37 'instance of classWithoutToString' => new classWithoutToString(),
54 ["instance of classWithoutToString"]=>
68 ["instance of classWithToString"]=>
/PHP-7.2/ext/spl/tests/
H A Dfixedarray_003.phpt31 echo "==Direct instance==\n";
41 echo "==Child instance==\n";
54 ==Direct instance==
60 ==Child instance==
/PHP-7.2/ext/openssl/tests/
H A DServerClientTestCase.inc43 private static $instance;
47 if (!isset(self::$instance)) {
48 self::$instance = new self($isWorker);
51 return self::$instance;
56 if (!isset(self::$instance)) {
57 self::$instance = $this;
/PHP-7.2/scripts/dev/generate-phpt/src/codeSnippets/
H A Dobject.txt23 'instance of classWithToString' => new classWithToString(),
24 'instance of classWithoutToString' => new classWithoutToString(),
/PHP-7.2/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt45 echo 'SubClass cannot access private instance method'."\n";
57 echo 'Cannot access private static function of instance'."\n";
130 echo 'Subclass cannot closure over parent private instance method'."\n";
156 echo 'Function scope cannot closure over protected instance method'."\n";
168 echo 'Function scope cannot closure over private instance method'."\n";
201 SubClass cannot access private instance method
202 Cannot access private static function of instance
208 Subclass cannot closure over parent private instance method
210 Function scope cannot closure over protected instance method
211 Function scope cannot closure over private instance method
[all …]

Completed in 35 milliseconds

12345678910>>...31