/PHP-7.2/Zend/ |
H A D | zend_objects_API.c | 33 objects->size = init_size; in zend_objects_store_init() 34 objects->free_list_head = -1; in zend_objects_store_init() 40 efree(objects->object_buckets); in zend_objects_store_destroy() 41 objects->object_buckets = NULL; in zend_objects_store_destroy() 47 if (objects->top > 1) { in zend_objects_store_call_destructors() 49 for (i = 1; i < objects->top; i++) { in zend_objects_store_call_destructors() 70 if (objects->object_buckets && objects->top > 1) { in zend_objects_store_mark_destructed() 72 zend_object **end = objects->object_buckets + objects->top; in zend_objects_store_mark_destructed() 89 if (objects->top <= 1) { in zend_objects_store_free_object_storage() 94 end = objects->object_buckets + 1; in zend_objects_store_free_object_storage() [all …]
|
H A D | zend_objects_API.h | 52 ZEND_API void zend_objects_store_init(zend_objects_store *objects, uint32_t init_size); 53 ZEND_API void zend_objects_store_call_destructors(zend_objects_store *objects); 54 ZEND_API void zend_objects_store_mark_destructed(zend_objects_store *objects); 55 ZEND_API void zend_objects_store_free_object_storage(zend_objects_store *objects, zend_bool fast_sh… 56 ZEND_API void zend_objects_store_destroy(zend_objects_store *objects);
|
/PHP-7.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-7.2/ext/standard/tests/array/ |
H A D | usort_object2.phpt | 11 * 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 D | uasort_object2.phpt | 2 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 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 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 D | array_walk_recursive_object2.phpt | 2 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 D | natcasesort_object1.phpt | 2 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 D | arsort_object1.phpt | 2 Test arsort() function : object functionality - sort objects 19 // class declaration for integer objects 30 // class declaration for string objects 46 // array of integer objects 53 // array of string objects
|
H A D | natcasesort_object2.phpt | 2 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 D | arsort_object2.phpt | 2 Test arsort() function : object functionality - sorting objects with diff. accessibility of member … 19 // class declaration for integer objects 34 // class declaration for string objects 53 // array of integer objects 59 // array of string objects
|
H A D | uasort_object1.phpt | 11 * 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
|
/PHP-7.2/ext/date/tests/ |
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"; 31 *** 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"; 26 *** 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"; 25 *** 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"; 28 *** Testing clone of objects derived from DateTime class with __clone magic method***
|
H A D | DateTimeZone_clone_basic2.phpt | 2 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 D | DateTime_clone_basic2.phpt | 2 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 ***
|
H A D | DateTimeZone_clone_basic3.phpt | 2 Test clone of DateTimeZOne objects 8 echo "*** Testing clone on DateTime objects ***\n"; 30 *** Testing clone on DateTime objects ***
|
/PHP-7.2/ext/session/tests/ |
H A D | session_set_save_handler_class_006.phpt | 2 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.2/ext/standard/tests/file/ |
H A D | fscanf_variation54.phpt | 2 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.2/tests/lang/ |
H A D | passByReference_006.phpt | 2 Pass uninitialised objects and arrays by reference to test implicit initialisation. 40 echo "\n ---- Pass uninitialised arrays & objects by ref: static method call ---\n"; 45 echo "\n\n---- Pass uninitialised arrays & objects by ref: constructor ---\n"; 50 echo "\n ---- Pass uninitialised arrays & objects by ref: instance method call ---\n"; 91 ---- Pass uninitialised arrays & objects by ref: static method call --- 128 ---- Pass uninitialised arrays & objects by ref: constructor --- 162 ---- Pass uninitialised 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"; 21 Simple test comparing two objects with different compare callback handler
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | addcslashes_002.phpt | 14 echo "\n*** Testing addcslashes() with objects ***\n"; 31 *** Testing addcslashes() with objects ***
|