Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.2/Zend/
H A Dzend_objects_API.c33 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 Dzend_objects_API.h52 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 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.2/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 Darsort_object1.phpt2 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 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 Darsort_object2.phpt2 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 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
/PHP-7.2/ext/date/tests/
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_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 ***
H A DDateTimeZone_clone_basic3.phpt2 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 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.2/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.2/tests/lang/
H A DpassByReference_006.phpt2 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 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.2/ext/standard/tests/strings/
H A Daddcslashes_002.phpt14 echo "\n*** Testing addcslashes() with objects ***\n";
31 *** Testing addcslashes() with objects ***

Completed in 53 milliseconds

12345678910>>...12