/PHP-8.3/ext/opcache/tests/gh13433/ |
H A D | gh13433.phpt | 16 $instance = new TheClass; 17 var_dump($instance); 18 var_dump($instance->test());
|
/PHP-8.3/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"; 18 --> 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 13 echo "\n--> Access visible static prop like instance prop:\n"; 22 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 | type_hinting_004.phpt | 49 echo "in C::f1 (instance);\n"; 56 echo "in C::f2 (instance);\n"; 94 echo "\n\n---> Type hints with callback instance method:\n"; 98 echo "in C::f1 (instance);\n"; 105 echo "in C::f2 (instance);\n"; 168 ---> Type hints with callback instance method: 171 in C::f1 (instance); 174 in C::f2 (instance); 175 in C::f2 (instance); 176 in C::f2 (instance);
|
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"; 60 ---> Invoke __call via scope resolution operator within instance. 66 ---> Invoke __call via scope resolution operator within child instance.
|
H A D | constants_basic_004.phpt | 7 // Static and instance array using class constants 17 // Static and instance array using class constants with self 24 // Static and instance array using class constants with parent 28 // Static and instance array using class constants with self (constants should be inherited)
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | array_multisort_variation7.phpt | 24 'instance of classWithToString' => new classWithToString(), 25 'instance of classWithoutToString' => new classWithoutToString(), 52 ["instance of classWithToString"]=> 57 ["instance of classWithoutToString"]=>
|
H A D | array_multisort_variation9.phpt | 24 'instance of classWithToString' => new classWithToString(), 25 'instance of classWithoutToString' => new classWithoutToString(), 62 ["instance of classWithToString"]=> 65 ["instance of classWithoutToString"]=>
|
/PHP-8.3/ext/standard/tests/class_object/ |
H A D | get_class_vars_variation2.phpt | 48 echo "\n-- From inside an object instance --\n"; 49 $instance = new Tester(); 50 $instance->test(); 56 echo "\n-- From inside an parent object instance --\n"; 64 echo "\n-- From inside a child object instance --\n"; 82 -- From inside an object instance -- 114 -- From inside an parent object instance -- 138 -- From inside a child object instance --
|
/PHP-8.3/Zend/tests/ |
H A D | closure_041.phpt | 8 * to having a bound instance. */ 47 echo "After binding, no instance", "\n"; 53 echo "After binding, with same-class instance for the bound ones", "\n"; 59 echo "After binding, with different instance for the bound ones", "\n"; 75 After binding, no instance 86 After binding, with same-class instance for the bound ones 88 Warning: Cannot bind an instance to a static closure in %s on line %d 92 Warning: Cannot bind an instance to a static closure in %s on line %d 95 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 | 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-8.3/Zend/tests/readonly_props/ |
H A D | readonly_clone_error2.phpt | 14 $instance = clone $this; 20 $instance = clone $this; 21 $instance->baz++;
|
H A D | readonly_clone_error3.phpt | 16 $instance = clone $this; 22 $instance = clone $this; 23 $instance->baz++;
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionProperty_setValue_error.phpt | 18 $instance = new TestClass(); 25 $propInfo->setValue($instance, "NewValue"); 26 var_dump($propInfo->getValue($instance));
|
H A D | bug72174.phpt | 28 $instance = new Foo(); 30 var_dump($reflectionBar->getValue($instance));
|
/PHP-8.3/tests/lang/ |
H A D | foreachLoopObjects.002.phpt | 172 --> Using instance of C: 192 --> Using instance of D: 217 --> Using instance of E: 247 --> Using instance of C: 267 --> Using instance of D: 292 --> Using instance of E: 322 --> Using instance of C: 376 --> Using instance of D: 446 --> Using instance of E: 526 --> Using instance of C: [all …]
|
/PHP-8.3/ext/dom/tests/ |
H A D | DOMProcessingInstruction.phpt | 51 $instance = $class->newInstanceWithoutConstructor(); 54 var_dump($instance->target); 59 var_dump($instance->data); 64 $instance->data = "hello";
|
/PHP-8.3/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"; 200 SubClass cannot access private instance method 201 Cannot access private static function of instance 207 Subclass cannot closure over parent private instance method 209 Function scope cannot closure over protected instance method 210 Function scope cannot closure over private instance method [all …]
|
/PHP-8.3/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 72 private static $instance; 76 if (!isset(self::$instance)) { 77 self::$instance = new self($isWorker); 80 return self::$instance; 85 if (!isset(self::$instance)) { 86 self::$instance = $this;
|
/PHP-8.3/ext/date/tests/ |
H A D | DateTimeZone_extends_basic1.phpt | 19 echo "\n-- Create an instance of DateTimeZoneExt --\n"; 29 -- Create an instance of DateTimeZoneExt --
|