/PHP-8.2/Zend/ |
H A D | zend_objects_API.c | 32 objects->size = init_size; in zend_objects_store_init() 33 objects->free_list_head = -1; in zend_objects_store_init() 39 efree(objects->object_buckets); in zend_objects_store_destroy() 40 objects->object_buckets = NULL; in zend_objects_store_destroy() 46 if (objects->top > 1) { in zend_objects_store_call_destructors() 50 for (i = 1; i < objects->top; i++) { in zend_objects_store_call_destructors() 72 if (objects->object_buckets && objects->top > 1) { in zend_objects_store_mark_destructed() 74 zend_object **end = objects->object_buckets + objects->top; in zend_objects_store_mark_destructed() 91 if (objects->top <= 1) { in zend_objects_store_free_object_storage() 97 end = objects->object_buckets + 1; in zend_objects_store_free_object_storage() [all …]
|
H A D | zend_objects_API.h | 54 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, boo… 58 ZEND_API void ZEND_FASTCALL zend_objects_store_destroy(zend_objects_store *objects);
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug61453.phpt | 2 Bug #61453: SplObjectStorage does not identify objects correctly 6 $objects = new SplObjectStorage; 10 if(isset($objects[$object])){ 14 $objects[$object] = 1;
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | uasort_object2.phpt | 2 Test uasort() function : object functionality - sort diff. objects 7 * This testcase tests uasort() functionality with different objects 75 // Testing uasort with StaticClass objects as elements of 'array_arg' 76 echo "-- Testing uasort() with StaticClass objects --\n"; 86 // Testing uasort with EmptyClass objects as elements of 'array_arg' 87 echo "-- Testing uasort() with EmptyClass objects --\n"; 97 // Testing uasort with ChildClass objects as elements of 'array_arg' 98 echo "-- Testing uasort() with ChildClass objects --\n"; 112 -- Testing uasort() with StaticClass objects -- 128 -- Testing uasort() with EmptyClass objects -- [all …]
|
H A D | usort_object2.phpt | 6 * Pass an array of objects which are either: 60 // Testing uasort with StaticClass objects as elements of 'array_arg' 61 echo "-- Testing usort() with StaticClass objects --\n"; 71 // Testing uasort with EmptyClass objects as elements of 'array_arg' 72 echo "-- Testing usort() with EmptyClass objects --\n"; 82 // Testing uasort with ChildClass objects as elements of 'array_arg' 83 echo "-- Testing usort() with ChildClass objects --\n"; 95 -- Testing usort() with StaticClass objects -- 111 -- Testing usort() with EmptyClass objects -- 127 -- Testing usort() with ChildClass objects --
|
H A D | bug72031.phpt | 2 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 D | array_walk_object2.phpt | 2 Test array_walk() function : object functionality - array of objects 6 * Testing array_walk() with an array of objects 9 echo "*** Testing array_walk() : array of objects ***\n"; 51 // array containing objects of MyClass 69 *** Testing array_walk() : array of objects ***
|
H A D | array_walk_recursive_object2.phpt | 2 Test array_walk_recursive() function : object functionality - array of objects 6 * Testing array_walk_recursive() with an array of objects 9 echo "*** Testing array_walk_recursive() : array of objects ***\n"; 51 // array containing objects of MyClass 71 *** Testing array_walk_recursive() : array of objects ***
|
H A D | natcasesort_object1.phpt | 2 Test natcasesort() function : object functionality - array of objects 6 * Pass natcasesort() an array of objects to test how it re-orders them 11 // class declaration for string objects 29 // array of string objects
|
H A D | uasort_object1.phpt | 6 * Testing uasort() function with the array of objects 7 * array of objects which has only one member variable & more than one member variables 25 // comparison function for SimpleClass2 objects which has more than one members 62 // array of SimpleClass objects with only one member 72 // array of SimpleClass objects having more than one members
|
H A D | natcasesort_object2.phpt | 2 Test natcasesort() function : object functionality - mixed visibility within objects 6 * Pass natcasesort() an array of objects which have properties of different 12 // class declaration for string objects 32 // array of string objects
|
/PHP-8.2/ext/date/tests/ |
H A D | bug70810.phpt | 19 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 D | DateTimeZone_clone_basic1.phpt | 2 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"; 30 *** Testing clone on DateTime objects ***
|
H A D | DateTime_clone_basic1.phpt | 2 Test clone on DateTime objects 9 echo "*** Testing clone on DateTime objects ***\n"; 25 *** Testing clone on DateTime objects ***
|
H A D | DateTimeZone_clone_basic4.phpt | 2 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"; 24 *** Testing clone of objects derived from DateTimeZone class with __clone magic method***
|
H A D | DateTime_clone_basic4.phpt | 2 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"; 27 *** Testing clone of objects derived from DateTime class with __clone magic method***
|
H A D | DateTimeZone_compare_basic1.phpt | 2 Test of compare object handler for DateTimeZone objects 32 // Test comparison of uninitialized DateTimeZone objects. 74 Warning: main(): Trying to compare different kinds of DateTimeZone objects in %s on line %d 76 Trying to compare uninitialized DateTimeZone objects
|
H A D | DateTimeZone_clone_basic2.phpt | 2 Testing clone on objects whose class derived from DateTimeZone class 18 echo "*** Testing clone on objects whose class derived from DateTimeZone class ***\n"; 32 *** Testing clone on objects whose class derived from DateTimeZone class ***
|
H A D | DateTime_clone_basic2.phpt | 2 Test clone of objects whose class derived from DateTime class 19 echo "*** Testing clone on objects whose class derived from DateTime class ***\n"; 32 *** Testing clone on objects whose class derived from DateTime class ***
|
/PHP-8.2/tests/lang/ |
H A D | passByReference_006.phpt | 2 Pass uninitialized objects and arrays by reference to test implicit initialisation. 36 echo "\n ---- Pass uninitialized arrays & objects by ref: static method call ---\n"; 41 echo "\n\n---- Pass uninitialized arrays & objects by ref: constructor ---\n"; 46 echo "\n ---- Pass uninitialized arrays & objects by ref: instance method call ---\n"; 66 ---- Pass uninitialized arrays & objects by ref: static method call --- 80 ---- Pass uninitialized arrays & objects by ref: constructor --- 93 ---- Pass uninitialized arrays & objects by ref: instance method call ---
|
H A D | compare_objects_basic2.phpt | 9 echo "Simple test comparing two objects with different compare callback handler\n"; 20 Simple test comparing two objects with different compare callback handler
|
/PHP-8.2/ext/session/tests/ |
H A D | session_set_save_handler_class_006.phpt | 2 Test session_set_save_handler() : using objects in close 15 echo "*** Testing session_set_save_handler() : using objects in close ***\n"; 42 *** Testing session_set_save_handler() : using objects in close ***
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | fscanf_variation54.phpt | 2 Test fscanf() function: usage variations - objects 6 /* Test fscanf() to scan a file to read objects */ 10 echo "*** Test fscanf(): to read objects from a file ***\n"; 63 *** Test fscanf(): to read objects from a file ***
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_o.phpt | 2 Test debug_zval_dump() function : working on objects 18 /* checking on objects type */ 19 echo "*** Testing debug_zval_dump() on objects ***\n"; 85 $objects = array ( 98 /* using zval_dump() to dump out the objects and its reference count */ 99 zval_dump($objects); 106 echo "\n-- Testing debug_zval_dump() on objects having circular reference --\n"; 116 *** Testing debug_zval_dump() on objects *** 330 -- Testing debug_zval_dump() on objects having circular reference --
|
/PHP-8.2/Zend/tests/varSyntax/ |
H A D | constant_object_deref.phpt | 2 Constants can be dereferenced as objects (even though they can't be objects)
|