Home
last modified time | relevance | path

Searched refs:object (Results 226 – 250 of 1987) sorted by relevance

12345678910>>...80

/PHP-7.4/Zend/tests/object_types/
H A Dreturn_type_in_function.phpt2 Adding a function object return type
6 function a() : object {
11 Fatal error: Uncaught TypeError: Return value of a() must be an object, int returned in %s:4
H A Dmissing_return_type_inheritance_in_class.phpt2 Missing class method a object return type during inheritance
7 public function a() : object {}
14 Fatal error: Declaration of Two::a() must be compatible with One::a(): object in %s on line 8
H A Dmissing_return_type_inheritance_in_interface.phpt2 Missing interface method a object return type during inheritance
7 public function a() : object;
14 Fatal error: Declaration of Two::a() must be compatible with One::a(): object in %s on line %d
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_getProperty_001.phpt63 --> Check for s: object(ReflectionProperty)#%d (2) {
69 --> Check for a: object(ReflectionProperty)#%d (2) {
78 --> Check for s: object(ReflectionProperty)#%d (2) {
84 --> Check for a: object(ReflectionProperty)#%d (2) {
93 --> Check for s: object(ReflectionProperty)#%d (2) {
99 --> Check for a: object(ReflectionProperty)#%d (2) {
108 --> Check for s: object(ReflectionProperty)#%d (2) {
114 --> Check for a: object(ReflectionProperty)#%d (2) {
123 --> Check for s: object(ReflectionProperty)#%d (2) {
129 --> Check for a: object(ReflectionProperty)#%d (2) {
[all …]
H A Dbug67068.phpt9 $object = new MyClass;
10 $reflector = new \ReflectionMethod($object, 'method');
11 $closure = $reflector->getClosure($object);
H A DReflectionClass_getProperty_003.phpt99 object(ReflectionProperty)#%d (2) {
107 object(ReflectionProperty)#%d (2) {
117 object(ReflectionProperty)#%d (2) {
125 object(ReflectionProperty)#%d (2) {
135 object(ReflectionProperty)#%d (2) {
143 object(ReflectionProperty)#%d (2) {
151 object(ReflectionProperty)#%d (2) {
161 object(ReflectionProperty)#%d (2) {
169 object(ReflectionProperty)#%d (2) {
177 object(ReflectionProperty)#%d (2) {
[all …]
/PHP-7.4/ext/spl/tests/
H A Dobserver_003.phpt25 foreach($storage as $object)
27 var_dump($object->test);
37 foreach($storage2 as $object)
39 var_dump($object->test);
H A Dbug60201.phpt15 object(ReflectionParameter)#%d (1) {
20 object(ReflectionParameter)#%d (1) {
25 object(ReflectionParameter)#%d (1) {
H A Dbug69108.phpt10 $object = new StdClass();
11 $a[] = $object;
12 $b->attach($object);
/PHP-7.4/ext/ffi/tests/
H A D025.phpt26 object(FFI\CData:int32_t)#%d (1) {
30 object(FFI\CData:int32_t)#%d (1) {
36 object(FFI\CData:char)#%d (1) {
40 object(FFI\CData:char)#%d (1) {
H A D005.phpt16 object(FFI\CData:int32_t[2][2])#%d (2) {
18 object(FFI\CData:int32_t[2])#%d (2) {
25 object(FFI\CData:int32_t[2])#%d (2) {
/PHP-7.4/ext/simplexml/tests/
H A Dbug69491.phpt13 object(SimpleXMLElement)#1 (1) {
15 object(SimpleXMLElement)#2 (1) {
17 object(SimpleXMLElement)#3 (0) {
H A Dbug75245.phpt13 object(SimpleXMLElement)#1 (2) {
15 object(SimpleXMLElement)#2 (0) {
18 object(SimpleXMLElement)#3 (0) {
H A Dbug72971_2.phpt20 object(SimpleXMLElement)#2 (1) {
24 object(SimpleXMLElement)#3 (1) {
28 object(SimpleXMLElement)#3 (1) {
32 object(SimpleXMLElement)#2 (1) {
/PHP-7.4/Zend/tests/
H A Dclass_alias_021.phpt20 object(foo\bar)#%d (0) {
22 object(foo\bar)#%d (0) {
24 object(foo\bar)#%d (0) {
H A Dbug78379_2.phpt2 Bug #78379.2 (Cast to object confuses GC, causes crash)
10 $e1->a = (object)$a;
12 $e2->a = (object)$a;
H A Dobjects_020.phpt2 Accessing members of standard object through of variable variable
17 Warning: Creating default object from empty value in %sobjects_020.php on line 7
18 object(stdClass)#%d (2) {
H A Dbug30791.phpt2 Bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
21 object(a)#1 (1) {
25 object(a)#2 (1) {
/PHP-7.4/ext/intl/resourcebundle/
H A Dresourcebundle_class.c39 static void ResourceBundle_object_free( zend_object *object ) in ResourceBundle_object_free() argument
87 zval *object = return_value; in resourcebundle_ctor() local
88 ResourceBundle_object *rb = Z_INTL_RESOURCEBUNDLE_P( object ); in resourcebundle_ctor()
239 resourcebundle_array_fetch(object, offset, rv, 1); in resourcebundle_array_get()
259 zval * object; in ZEND_END_ARG_INFO() local
267 resourcebundle_array_fetch(object, offset, return_value, fallback); in ZEND_END_ARG_INFO()
272 int resourcebundle_array_count(zval *object, zend_long *count) in resourcebundle_array_count() argument
381 &object, ResourceBundle_ce_ptr ) == FAILURE ) in ZEND_END_ARG_INFO()
388 rb = Z_INTL_RESOURCEBUNDLE_P( object ); in ZEND_END_ARG_INFO()
409 &object, ResourceBundle_ce_ptr ) == FAILURE ) in ZEND_END_ARG_INFO()
[all …]
/PHP-7.4/tests/classes/
H A Darray_access_010.phpt10 private $object;
13 function __construct(ArrayAccess $object, array &$element)
16 $this->object = $object;
106 object(ArrayReferenceProxy)#%d (2) {
107 ["object":"ArrayReferenceProxy":private]=>
108 object(Peoples)#%d (1) {
146 object(ArrayReferenceProxy)#%d (2) {
147 ["object":"ArrayReferenceProxy":private]=>
148 object(Peoples)#%d (1) {
/PHP-7.4/ext/date/tests/
H A DDateTimeZone_construct_basic.phpt6 * Description: Returns new DateTimeZone object
24 object(DateTimeZone)#%d (2) {
30 object(DateTimeZone)#%d (2) {
36 object(DateTimeZone)#%d (2) {
/PHP-7.4/ext/gmp/tests/
H A Dcomparison.phpt21 object(GMP)#1 (1) {
28 object(GMP)#2 (1) {
33 object(GMP)#3 (1) {
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dobject_variance.phpt2 Testing object's variance in inheritance
7 function method1(I1 $o): object;
10 function method1(object $o): I1;
/PHP-7.4/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt25 echo "\n\nOrder with object property assignment:\n";
30 echo "\n\nOrder with nested object property assignment:\n";
90 Order with object property assignment:
93 object(stdClass)#%d (1) {
99 Order with nested object property assignment:
102 object(stdClass)#%d (1) {
104 object(stdClass)#%d (1) {
106 object(stdClass)#%d (1) {
117 object(stdClass)#%d (1) {
/PHP-7.4/ext/standard/tests/file/
H A Dlstat_stat_variation18.phpt2 Test lstat() and stat() functions: usage variations - dir/file name stored in object
23 echo "*** Testing stat() with filename & directory name stored inside an object ***\n";
32 // directory name stored in an object
35 // file name stored in an object
38 echo "\n-- Testing stat() on filename stored inside an object --\n";
42 echo "\n-- Testing stat() on directory name stored inside an object --\n";
55 *** Testing stat() with filename & directory name stored inside an object ***
57 -- Testing stat() on filename stored inside an object --
113 -- Testing stat() on directory name stored inside an object --

Completed in 43 milliseconds

12345678910>>...80