Home
last modified time | relevance | path

Searched refs:object (Results 151 – 175 of 1962) sorted by relevance

12345678910>>...79

/PHP-8.0/Zend/tests/object_types/
H A Dreturn_type_in_class.phpt2 Adding a class method object return type
7 public function a() : object;
11 public function a() : object {}
15 public function a() : object {
22 Fatal error: Uncaught TypeError: Two@anonymous::a(): Return value must be of type object, int retur…
/PHP-8.0/ext/spl/tests/
H A DSplFixedArray_setSize_destruct.phpt23 object(SplFixedArray)#1 (1) {
27 object(SplFixedArray)#1 (1) {
33 object(SplFixedArray)#1 (5) {
43 object(HasDestructor)#2 (0) {
46 object(SplFixedArray)#1 (4) {
H A Dbug68479.phpt14 object(ReflectionParameter)#2 (1) {
19 object(ReflectionParameter)#3 (1) {
24 object(ReflectionParameter)#4 (1) {
29 object(ReflectionParameter)#5 (1) {
H A Dbug42654.phpt26 object(RecursiveArrayIterator)#%d (1) {
45 object(RecursiveArrayIterator)#%d (1) {
65 object(RecursiveArrayIterator)#%d (1) {
77 object(RecursiveArrayIterator)#%d (1) {
90 object(RecursiveArrayIterator)#%d (1) {
97 object(RecursiveArrayIterator)#%d (1) {
105 object(RecursiveArrayIterator)#%d (1) {
124 object(RecursiveArrayIterator)#%d (1) {
H A DarrayObject_exchangeArray_basic3.phpt2 SPL: ArrayObject::exchangeArray() basic usage with object as underlying data store.
54 object(ArrayObject)#2 (1) {
56 object(C)#3 (2) {
63 object(C)#1 (2) {
69 object(C)#3 (2) {
87 object(ArrayObject)#2 (1) {
89 object(C)#3 (2) {
96 object(C)#3 (2) {
109 object(ArrayObject)#3 (1) {
111 object(C)#2 (2) {
[all …]
H A Dbug69264.phpt65 object(MyFileInfo)#%d (2) {
71 object(MyDoublyLinkedList)#%d (2) {
77 object(MyObjectStorage)#%d (2) {
83 object(MyMultipleIterator)#%d (2) {
89 object(MyArrayObject)#%d (2) {
95 object(MyArrayIterator)#%d (2) {
101 object(MyMaxHeap)#%d (2) {
107 object(MyPriorityQueue)#%d (2) {
/PHP-8.0/ext/date/tests/
H A Dtest-parse-from-format.phpt26 object(DateTime)#2 (3) {
37 object(DateTime)#1 (3) {
48 object(DateTime)#3 (3) {
59 object(DateTime)#2 (3) {
70 object(DateTime)#1 (3) {
81 object(DateTime)#3 (3) {
92 object(DateTime)#2 (3) {
103 object(DateTime)#1 (3) {
114 object(DateTime)#3 (3) {
125 object(DateTime)#2 (3) {
[all …]
H A DDateTimeImmutable_createFromInterface-001.phpt32 object(DateTimeImmutable)#%d (3) {
40 object(DateTimeImmutable)#%d (3) {
48 object(DateTimeImmutable)#%d (3) {
56 object(DateTimeImmutable)#%d (3) {
64 object(DateTimeImmutable)#%d (3) {
72 object(DateTimeImmutable)#%d (3) {
H A DDateTime_createFromInterface-001.phpt32 object(DateTime)#%d (3) {
40 object(DateTime)#%d (3) {
48 object(DateTime)#%d (3) {
56 object(DateTime)#%d (3) {
64 object(DateTime)#%d (3) {
72 object(DateTime)#%d (3) {
/PHP-8.0/ext/intl/transliterator/
H A Dtransliterator_class.c31 int transliterator_object_construct( zval *object, in transliterator_object_construct() argument
57 zend_update_property(Transliterator_ce_ptr, Z_OBJ_P(object), in transliterator_object_construct()
99 static void Transliterator_objects_free( zend_object *object ) in Transliterator_objects_free() argument
101 Transliterator_object* to = php_intl_transliterator_fetch_object(object); in Transliterator_objects_free()
131 static zend_object *Transliterator_clone_obj( zend_object *object ) in Transliterator_clone_obj() argument
138 to_orig = php_intl_transliterator_fetch_object( object ); in Transliterator_clone_obj()
140 ret_val = Transliterator_ce_ptr->create_object( object->ce ); in Transliterator_clone_obj()
201 retval = zend_std_get_property_ptr_ptr( object, name, type, cache_slot ); in Transliterator_get_property_ptr_ptr()
222 retval = zend_std_read_property( object, name, type, cache_slot, rv ); in Transliterator_read_property()
231 static zval *Transliterator_write_property( zend_object *object, zend_string *name, zval *value, in Transliterator_write_property() argument
[all …]
/PHP-8.0/ext/standard/tests/serialize/
H A Dunserialize_classes.phpt21 object(foo)#%d (1) {
32 object(__PHP_Incomplete_Class)#%d (2) {
45 object(foo)#%d (1) {
56 object(__PHP_Incomplete_Class)#%d (2) {
69 object(foo)#%d (1) {
80 object(foo)#%d (1) {
/PHP-8.0/ext/gmp/tests/
H A Dgmp_root.phpt36 object(GMP)#%d (1) {
40 object(GMP)#%d (1) {
44 object(GMP)#%d (1) {
48 object(GMP)#%d (1) {
52 object(GMP)#%d (1) {
57 object(GMP)#%d (1) {
/PHP-8.0/ext/simplexml/tests/
H A D016.phpt31 object(SimpleXMLElement)#%d (1) {
35 object(SimpleXMLElement)#%d (1) {
39 object(SimpleXMLElement)#%d (1) {
44 object(SimpleXMLElement)#%d (1) {
48 object(SimpleXMLElement)#%d (1) {
52 object(SimpleXMLElement)#%d (1) {
/PHP-8.0/tests/lang/
H A Dbug24658.phpt34 object(foo)#%d (0) {
36 object(foo)#%d (0) {
38 object(foo)#%d (0) {
40 object(foo)#%d (0) {
43 object(foo)#%d (0) {
48 object(foo)#%d (0) {
53 object(foo)#%d (0) {
/PHP-8.0/ext/intl/collator/
H A Dcollator_error.c30 &object, Collator_ce_ptr ) == FAILURE ) in PHP_FUNCTION()
36 co = Z_INTL_COLLATOR_P(object); in PHP_FUNCTION()
54 &object, Collator_ce_ptr ) == FAILURE ) in PHP_FUNCTION()
60 co = Z_INTL_COLLATOR_P( object ); in PHP_FUNCTION()
/PHP-8.0/Zend/tests/generators/
H A Dgenerator_return_without_value.phpt36 object(Generator)#%d (0) {
38 object(Generator)#%d (0) {
40 object(Generator)#%d (0) {
42 object(Generator)#%d (0) {
/PHP-8.0/ext/intl/dateformat/
H A Ddateformat_class.c32 static void IntlDateFormatter_object_dtor(zend_object *object ) in IntlDateFormatter_object_dtor() argument
34 zend_objects_destroy_object( object ); in IntlDateFormatter_object_dtor()
39 void IntlDateFormatter_object_free( zend_object *object ) in IntlDateFormatter_object_free() argument
41 IntlDateFormatter_object* dfo = php_intl_dateformatter_fetch_object(object); in IntlDateFormatter_object_free()
74 zend_object *IntlDateFormatter_object_clone(zend_object *object) in IntlDateFormatter_object_clone() argument
79 dfo = php_intl_dateformatter_fetch_object(object); in IntlDateFormatter_object_clone()
82 new_obj = IntlDateFormatter_ce_ptr->create_object(object->ce); in IntlDateFormatter_object_clone()
/PHP-8.0/tests/classes/
H A Dthis.phpt35 $object = new Foo;
36 $object->prop = "Hello\n";
41 $object->replace($other);
42 $object->indirect($other);
44 print $object->prop; // still shows 'Hello'
46 $object->retrieve($other);
/PHP-8.0/Zend/tests/
H A Dstr_or_obj_zpp.phpt41 object(stdClass)#1 (0) {
43 object(Foo)#1 (0) {
45 zend_string_or_object(): Argument #1 ($param) must be of type object|string, array given
49 object(stdClass)#2 (0) {
51 object(Foo)#2 (0) {
53 zend_string_or_object_or_null(): Argument #1 ($param) must be of type object|string|null, array giv…
/PHP-8.0/ext/enchant/tests/
H A Dbug13181.phpt55 object(EnchantDictionary)#%d (0) {
57 object(EnchantDictionary)#%d (0) {
59 object(EnchantBroker)#%d (0) {
61 object(EnchantBroker)#%d (0) {
63 object(EnchantDictionary)#%d (0) {
65 object(EnchantDictionary)#%d (0) {
/PHP-8.0/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload3.phpt34 object(A)#2 (0) {
36 object(X)#2 (0) {
38 object(Y)#2 (0) {
40 object(B)#2 (0) {
42 object(B)#2 (0) {
/PHP-8.0/ext/date/
H A Dphp_date.stub.php50 function date_format(DateTimeInterface $object, string $format): string {} argument
52 function date_modify(DateTime $object, string $modifier): DateTime|false {} argument
54 function date_add(DateTime $object, DateInterval $interval): DateTime {} argument
56 function date_sub(DateTime $object, DateInterval $interval): DateTime {} argument
58 function date_timezone_get(DateTimeInterface $object): DateTimeZone|false {} argument
62 function date_offset_get(DateTimeInterface $object): int {} argument
74 function date_timestamp_set(DateTime $object, int $timestamp): DateTime {} argument
76 function date_timestamp_get(DateTimeInterface $object): int {} argument
80 function timezone_name_get(DateTimeZone $object): string {} argument
89 function timezone_location_get(DateTimeZone $object): array|false {} argument
[all …]
/PHP-8.0/ext/intl/resourcebundle/
H A Dresourcebundle_class.c38 static void ResourceBundle_object_free( zend_object *object ) in ResourceBundle_object_free() argument
85 zval *object = return_value; in resourcebundle_ctor() local
86 ResourceBundle_object *rb = Z_INTL_RESOURCEBUNDLE_P( object ); in resourcebundle_ctor()
174 rb = php_intl_resourcebundle_fetch_object(object); in resourcebundle_array_fetch()
227 resourcebundle_array_fetch(object, offset, rv, 1); in resourcebundle_array_get()
237 zval * object; in PHP_FUNCTION() local
248 int resourcebundle_array_count(zend_object *object, zend_long *count) in resourcebundle_array_count() argument
327 &object, ResourceBundle_ce_ptr ) == FAILURE ) in PHP_FUNCTION()
332 rb = Z_INTL_RESOURCEBUNDLE_P( object ); in PHP_FUNCTION()
345 &object, ResourceBundle_ce_ptr ) == FAILURE ) in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/standard/tests/array/
H A Duasort_object1.phpt2 Test uasort() function : object functionality
10 echo "*** Testing uasort() : object functionality ***\n";
84 *** Testing uasort() : object functionality ***
88 object(SimpleClass1)#2 (1) {
93 object(SimpleClass1)#1 (1) {
98 object(SimpleClass1)#4 (1) {
103 object(SimpleClass1)#3 (1) {
111 object(SimpleClass2)#5 (3) {
120 object(SimpleClass2)#7 (3) {
129 object(SimpleClass2)#6 (3) {
H A Dusort_object1.phpt2 Test usort() function : object functionality - different number of properties
10 echo "*** Testing usort() : object functionality ***\n";
81 *** Testing usort() : object functionality ***
85 object(SimpleClass1)#%d (1) {
90 object(SimpleClass1)#%d (1) {
95 object(SimpleClass1)#%d (1) {
100 object(SimpleClass1)#%d (1) {
108 object(SimpleClass2)#%d (3) {
117 object(SimpleClass2)#%d (3) {
126 object(SimpleClass2)#%d (3) {

Completed in 32 milliseconds

12345678910>>...79