Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 226) sorted by relevance

12345678910

/PHP-7.4/Zend/
H A Dzend_objects_API.c31 objects->size = init_size; in zend_objects_store_init()
32 objects->free_list_head = -1; in zend_objects_store_init()
38 efree(objects->object_buckets); in zend_objects_store_destroy()
39 objects->object_buckets = NULL; in zend_objects_store_destroy()
45 if (objects->top > 1) { in zend_objects_store_call_destructors()
47 for (i = 1; i < objects->top; i++) { in zend_objects_store_call_destructors()
67 if (objects->object_buckets && objects->top > 1) { in zend_objects_store_mark_destructed()
69 zend_object **end = objects->object_buckets + objects->top; in zend_objects_store_mark_destructed()
86 if (objects->top <= 1) { in zend_objects_store_free_object_storage()
92 end = objects->object_buckets + 1; in zend_objects_store_free_object_storage()
[all …]
H A Dzend_objects_API.h54 ZEND_API void ZEND_FASTCALL zend_objects_store_init(zend_objects_store *objects, uint32_t init_size…
55 ZEND_API void ZEND_FASTCALL zend_objects_store_call_destructors(zend_objects_store *objects);
56 ZEND_API void ZEND_FASTCALL zend_objects_store_mark_destructed(zend_objects_store *objects);
57 ZEND_API void ZEND_FASTCALL zend_objects_store_free_object_storage(zend_objects_store *objects, zen…
58 ZEND_API void ZEND_FASTCALL zend_objects_store_destroy(zend_objects_store *objects);
/PHP-7.4/ext/spl/tests/
H A Dbug61453.phpt2 Bug #61453: SplObjectStorage does not identify objects correctly
6 $objects = new SplObjectStorage;
10 if(isset($objects[$object])){
14 $objects[$object] = 1;
/PHP-7.4/ext/date/tests/
H A Dbug70810.phpt19 Warning: Cannot compare DateInterval objects in %s on line %d
22 Warning: Cannot compare DateInterval objects in %s on line %d
25 Warning: Cannot compare DateInterval objects in %s on line %d
28 Warning: Cannot compare DateInterval objects in %s on line %d
31 Warning: Cannot compare DateInterval objects in %s on line %d
34 Warning: Cannot compare DateInterval objects in %s on line %d
H A DDateTimeZone_clone_basic1.phpt2 Test clone on DateTimeZone objects
9 echo "*** Testing clone on DateTime objects ***\n";
21 echo "TEST FAILED : objects not equal\n";
23 echo "TEST FAILED : objects identical\n";
31 *** Testing clone on DateTime objects ***
H A DDateTime_clone_basic1.phpt2 Test clone on DateTime objects
9 echo "*** Testing clone on DateTime objects ***\n";
26 *** Testing clone on DateTime objects ***
H A DDateTimeZone_clone_basic4.phpt2 Test clone of DateTimeZone derived objects with __clone magic method
14 echo "*** Testing clone of objects derived from DateTimeZone class with __clone magic method***\n";
25 *** Testing clone of objects derived from DateTimeZone class with __clone magic method***
H A DDateTime_clone_basic4.phpt2 Test clone of DateTime derived objects with __clone magic method
17 echo "*** Testing clone of objects derived from DateTime class with __clone magic method***\n";
28 *** Testing clone of objects derived from DateTime class with __clone magic method***
H A DDateTimeZone_compare_basic1.phpt2 Test of compare object handler for DateTimeZone objects
32 // Test comparison of uninitialized DateTimeZone objects.
70 Warning: main(): Trying to compare different kinds of DateTimeZone objects in %s on line %d
73 Warning: main(): Trying to compare uninitialized DateTimeZone objects in %s on line %d
H A DDateTimeZone_clone_basic2.phpt2 Testing clone on objects whoose class derived from DateTimeZone class
18 echo "*** Testing clone on objects whoose class derived from DateTimeZone class ***\n";
33 *** Testing clone on objects whoose class derived from DateTimeZone class ***
H A DDateTime_clone_basic2.phpt2 Test clone of objects whoose class derived from DateTime class
19 echo "*** Testing clone on objects whoose class derived from DateTime class ***\n";
33 *** Testing clone on objects whoose class derived from DateTime class ***
/PHP-7.4/Zend/tests/weakrefs/
H A Dweakrefs_003.phpt38 string(47) "WeakReference objects do not support properties"
39 string(47) "WeakReference objects do not support properties"
40 string(47) "WeakReference objects do not support properties"
41 string(47) "WeakReference objects do not support properties"
42 string(56) "WeakReference objects do not support property references"
/PHP-7.4/ext/standard/tests/array/
H A Dusort_object2.phpt11 * Pass an array of objects which are either:
65 // Testing uasort with StaticClass objects as elements of 'array_arg'
66 echo "-- Testing usort() with StaticClass objects --\n";
76 // Testing uasort with EmptyClass objects as elements of 'array_arg'
77 echo "-- Testing usort() with EmptyClass objects --\n";
87 // Testing uasort with ChildClass objects as elements of 'array_arg'
88 echo "-- Testing usort() with ChildClass objects --\n";
101 -- Testing usort() with StaticClass objects --
117 -- Testing usort() with EmptyClass objects --
133 -- Testing usort() with ChildClass objects --
H A Duasort_object2.phpt2 Test uasort() function : object functionality - sort diff. objects
11 * This testcase tests uasort() functionality with different objects
86 // Testing uasort with StaticClass objects as elements of 'array_arg'
87 echo "-- Testing uasort() with StaticClass objects --\n";
97 // Testing uasort with EmptyClass objects as elements of 'array_arg'
98 echo "-- Testing uasort() with EmptyClass objects --\n";
108 // Testing uasort with ChildClass objects as elements of 'array_arg'
109 echo "-- Testing uasort() with ChildClass objects --\n";
123 -- Testing uasort() with StaticClass objects --
139 -- Testing uasort() with EmptyClass objects --
[all …]
H A Dbug72031.phpt2 Bug #72031: array_column() against an array of objects discards all values matching null
13 $objects = [
25 var_dump(array_column($objects, 'prop'));
H A Darray_walk_object2.phpt2 Test array_walk() function : object functionality - array of objects
11 * Testing array_walk() with an array of objects
14 echo "*** Testing array_walk() : array of objects ***\n";
63 // array containing objects of MyClass
81 *** Testing array_walk() : array of objects ***
H A Darray_walk_recursive_object2.phpt2 Test array_walk_recursive() function : object functionality - array of objects
11 * Testing array_walk_recursive() with an array of objects
14 echo "*** Testing array_walk_recursive() : array of objects ***\n";
63 // array containing objects of MyClass
83 *** Testing array_walk_recursive() : array of objects ***
H A Dnatcasesort_object1.phpt2 Test natcasesort() function : object functionality - array of objects
11 * Pass natcasesort() an array of objects to test how it re-orders them
16 // class declaration for string objects
34 // array of string objects
H A Dnatcasesort_object2.phpt2 Test natcasesort() function : object functionality - mixed visibility within objects
11 * Pass natcasesort() an array of objects which have properties of different
17 // class declaration for string objects
37 // array of string objects
H A Duasort_object1.phpt11 * Testing uasort() function with the array of objects
12 * array of objects which has only one member variable & more than one member variables
37 // comparison function for SimpleClass2 objects which has more than one members
74 // array of SimpleClass objects with only one member
84 // array of SimpleClass objects having more than one members
H A Darray_key_exists_object1.phpt12 * Test basic functionality of array_key_exists() with objects
55 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p…
59 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p…
74 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p…
/PHP-7.4/ext/session/tests/
H A Dsession_set_save_handler_class_006.phpt2 Test session_set_save_handler() : using objects in close
19 echo "*** Testing session_set_save_handler() : using objects in close ***\n";
46 *** Testing session_set_save_handler() : using objects in close ***
/PHP-7.4/ext/standard/tests/file/
H A Dfscanf_variation54.phpt2 Test fscanf() function: usage variations - objects
11 /* Test fscanf() to scan a file to read objects */
15 echo "*** Test fscanf(): to read objects from a file ***\n";
68 *** Test fscanf(): to read objects from a file ***
/PHP-7.4/tests/lang/
H A Dcompare_objects_basic2.phpt9 echo "Simple test comparing two objects with different compare callback handler\n";
21 Simple test comparing two objects with different compare callback handler
/PHP-7.4/ext/standard/tests/general_functions/
H A Ddebug_zval_dump_o.phpt2 Test debug_zval_dump() function : working on objects
12 Description: use debug_zval_dump() to display the objects and its
23 /* checking on objects type */
24 echo "*** Testing debug_zval_dump() on objects ***\n";
88 $objects = array (
101 /* using zval_dump() to dump out the objects and its reference count */
102 zval_dump($objects);
109 echo "\n-- Testing debug_zval_dump() on objects having circular reference --\n";
119 *** Testing debug_zval_dump() on objects ***
333 -- Testing debug_zval_dump() on objects having circular reference --

Completed in 58 milliseconds

12345678910