/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionProperty_getValue_error.phpt | 17 $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 D | ReflectionProperty_setValue_error.phpt | 17 $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 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"; 15 --> 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"; 15 --> 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"; 15 --> 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"; 15 --> 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:
|
H A D | __call_006.phpt | 31 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.phpt | 31 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 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-7.2/Zend/tests/ |
H A D | closure_041.phpt | 8 * 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 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
|
H A D | bug71275.phpt | 22 $instance = new MyClass(); 23 clone $instance;
|
H A D | bug69761.phpt | 5 $instance = new class('foo') { 9 var_dump(serialize($instance));
|
/PHP-7.2/ext/intl/tests/ |
H A D | calendar_equals_error.phpt | 51 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 D | pdo_odbc.c | 92 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 D | or_null.phpt | 222 …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 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-7.2/ext/standard/tests/array/ |
H A D | array_multisort_variation7.phpt | 30 'instance of classWithToString' => new classWithToString(), 31 'instance of classWithoutToString' => new classWithoutToString(), 59 ["instance of classWithToString"]=> 64 ["instance of classWithoutToString"]=>
|
H A D | array_multisort_variation8.phpt | 36 '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 D | fixedarray_003.phpt | 31 echo "==Direct instance==\n"; 41 echo "==Child instance==\n"; 54 ==Direct instance== 60 ==Child instance==
|
/PHP-7.2/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 43 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 D | object.txt | 23 'instance of classWithToString' => new classWithToString(), 24 'instance of classWithoutToString' => new classWithoutToString(),
|
/PHP-7.2/Zend/tests/closures/ |
H A D | closure_from_callable_error.phpt | 45 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 …]
|