Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/PHP-7.4/ext/pcre/tests/
H A Dbug73612.phpt5 $obj = new stdClass;
6 $obj->obj = $obj;
7 preg_match('/./', 'x', $obj);
9 $obj = new stdClass;
10 $obj->obj = $obj;
13 $obj = new stdClass;
14 $obj->obj = $obj;
17 $obj = new stdClass;
18 $obj->obj = $obj;
21 $obj = new stdClass;
[all …]
/PHP-7.4/ext/dom/
H A Ddom_properties.h24 int dom_attr_name_read(dom_object *obj, zval *retval);
25 int dom_attr_specified_read(dom_object *obj, zval *retval);
26 int dom_attr_value_read(dom_object *obj, zval *retval);
27 int dom_attr_value_write(dom_object *obj, zval *newval);
37 int dom_document_doctype_read(dom_object *obj, zval *retval);
52 int dom_document_config_read(dom_object *obj, zval *retval);
77 int dom_domerror_type_read(dom_object *obj, zval *retval);
90 int dom_domlocator_uri_read(dom_object *obj, zval *retval);
130 int dom_node_prefix_read(dom_object *obj, zval *retval);
131 int dom_node_prefix_write(dom_object *obj, zval *newval);
[all …]
/PHP-7.4/ext/standard/tests/serialize/
H A Dserialization_objects_013.phpt34 $obj->a = &$obj->b;
41 $obj->a = &$obj->c;
48 $obj->b = &$obj->a;
56 $obj->b = &$obj->c;
63 $obj->c = &$obj->a;
70 $obj->c = &$obj->b;
76 $obj->a = &$obj->c;
77 $obj->b = &$obj->c;
83 $obj->a = &$obj->b;
84 $obj->c = &$obj->b;
[all …]
H A Dserialization_objects_015.phpt24 $obj->a = &$obj;
32 $obj->a = $obj;
40 $obj->a = &$obj;
41 $obj->b = &$obj;
48 $obj->a = $obj;
49 $obj->b = $obj;
56 $obj->a = &$obj;
57 $obj->b = &$obj;
64 $obj->a = $obj;
65 $obj->b = $obj;
[all …]
H A Dserialization_objects_014.phpt35 $obj->b = 1;
36 $obj->c = 1;
37 check($obj);
42 $obj->a = 1;
44 $obj->c = 1;
45 check($obj);
50 $obj->a = 1;
51 $obj->b = 1;
53 check($obj);
60 $obj->c = 1;
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_misc.c52 obj = emalloc(sizeof(*obj)); in php_com_wrap_dispatch()
53 memset(obj, 0, sizeof(*obj)); in php_com_wrap_dispatch()
58 VariantInit(&obj->v); in php_com_wrap_dispatch()
63 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in php_com_wrap_dispatch()
67 ZVAL_OBJ(z, &obj->zo); in php_com_wrap_dispatch()
75 obj = emalloc(sizeof(*obj)); in php_com_wrap_variant()
76 memset(obj, 0, sizeof(*obj)); in php_com_wrap_variant()
81 VariantInit(&obj->v); in php_com_wrap_variant()
83 obj->modified = 0; in php_com_wrap_variant()
85 if ((V_VT(&obj->v) == VT_DISPATCH) && (V_DISPATCH(&obj->v) != NULL)) { in php_com_wrap_variant()
[all …]
H A Dcom_handlers.c38 obj = CDNO_FETCH(object); in com_property_read()
68 obj = CDNO_FETCH(object); in com_property_write()
301 f.scope = obj->ce; in com_method_get()
308 if (obj->typeinfo) { in com_method_get()
424 f.scope = obj->ce; \ in com_constructor_get()
621 if (obj->typeinfo) { in php_com_object_free_storage()
675 obj = emalloc(sizeof(*obj)); in php_com_object_new()
676 memset(obj, 0, sizeof(*obj)); in php_com_object_new()
678 VariantInit(&obj->v); in php_com_object_new()
680 obj->ce = ce; in php_com_object_new()
[all …]
/PHP-7.4/Zend/tests/grammar/
H A Dsemi_reserved_003.phpt87 $obj = new Obj;
107 echo $obj->and, PHP_EOL;
114 echo $obj->new, PHP_EOL;
115 echo $obj->or, PHP_EOL;
116 echo $obj->xor, PHP_EOL;
117 echo $obj->try, PHP_EOL;
118 echo $obj->use, PHP_EOL;
140 echo $obj->fn, PHP_EOL;
141 echo $obj->if, PHP_EOL;
148 echo $obj->do, PHP_EOL;
[all …]
H A Dsemi_reserved_001.phpt106 $obj->and();
113 $obj->new();
114 $obj->or();
115 $obj->xor();
116 $obj->try();
117 $obj->use();
118 $obj->var();
139 $obj->fn();
140 $obj->if();
147 $obj->do();
[all …]
/PHP-7.4/ext/spl/tests/
H A Darray_010.phpt27 var_dump($obj[0]);
28 var_dump($obj[1]);
29 var_dump($obj[2]);
32 var_dump($obj[6]);
37 var_dump($obj[1]);
46 var_dump($obj[6]);
48 var_dump($obj[0]);
49 var_dump($obj[2]);
52 var_dump($obj[6]);
57 unset($obj[2]);
[all …]
H A Ddllist_008.phpt5 $obj = new SplDoublyLinkedList();
6 $obj[] = 1;
7 $obj[] = 2;
8 var_dump(count($obj));
14 $obj = new SplDoublyLinkedList2();
15 $obj[] = 1;
16 $obj[] = 2;
17 var_dump(count($obj));
H A Dheap_010.phpt5 $obj = new SplMaxHeap();
6 $obj->insert(1);
7 $obj->insert(2);
8 var_dump(count($obj));
14 $obj = new SplMaxHeap2();
15 $obj->insert(1);
16 $obj->insert(2);
17 var_dump(count($obj));
/PHP-7.4/ext/intl/
H A Dintl_data.h35 #define INTL_METHOD_INIT_VARS(oclass, obj) \ argument
37 oclass##_object* obj = NULL; \
40 #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) argument
41 #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) argument
42 #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) argument
44 #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ argument
45 obj = Z_##oclass##_P( object ); \
46 intl_error_reset( INTL_DATA_ERROR_P(obj) ); \
68 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
70 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Dbug76713.phpt6 function test($obj) {
10 $obj = new Stdclass();
14 test($obj);
15 test($obj);
16 test($obj);
18 var_dump($obj->prop);
27 $obj = new C;
31 test($obj);
32 test($obj);
33 test($obj);
[all …]
/PHP-7.4/Zend/tests/
H A Dbug68191.phpt6 $obj = new stdClass;
8 $obj->prop1 = 'abc';
9 $obj->prop2 =& $obj->prop1;
10 $obj->prop2 .= 'xyz';
11 var_dump($obj->prop1);
13 $obj->prop3 = 1;
14 $obj->prop4 =& $obj->prop3;
15 ++$obj->prop4;
16 var_dump($obj->prop3);
H A Dincdec_ref_property.phpt6 $obj = new stdClass;
7 $obj->prop = 1;
8 $ref =& $obj->prop;
9 var_dump(++$obj->prop);
10 var_dump($obj->prop);
11 var_dump($obj->prop++);
12 var_dump($obj->prop);
13 var_dump(--$obj->prop);
14 var_dump($obj->prop);
15 var_dump($obj->prop--);
[all …]
H A Dobject_property_ref_incdec.phpt6 $obj = new stdClass;
7 $obj->cursor = 0;
8 $ref =& $obj->cursor;
10 $obj->cursor++;
11 var_dump($obj->cursor);
13 $obj->cursor--;
14 var_dump($obj->cursor);
/PHP-7.4/tests/classes/
H A Darray_access_001.phpt29 var_dump($obj->a);
48 var_dump($obj[0]);
49 var_dump($obj[1]);
50 var_dump($obj[2]);
53 var_dump($obj[6]);
58 var_dump($obj[1]);
67 var_dump($obj[6]);
69 var_dump($obj[0]);
70 var_dump($obj[2]);
78 unset($obj[2]);
[all …]
H A Darray_access_002.phpt29 var_dump($obj->a);
48 var_dump($obj[0]);
49 var_dump($obj[1]);
50 var_dump($obj[2]);
53 var_dump($obj[6]);
58 var_dump($obj[1]);
67 var_dump($obj[6]);
69 var_dump($obj[0]);
70 var_dump($obj[2]);
78 unset($obj[2]);
[all …]
/PHP-7.4/Zend/
H A Dzend_objects_API.c49 if (IS_OBJ_VALID(obj)) { in zend_objects_store_call_destructors()
55 GC_ADDREF(obj); in zend_objects_store_call_destructors()
56 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
57 GC_DELREF(obj); in zend_objects_store_call_destructors()
74 if (IS_OBJ_VALID(obj)) { in zend_objects_store_mark_destructed()
98 obj = *obj_ptr; in zend_objects_store_free_object_storage()
103 GC_ADDREF(obj); in zend_objects_store_free_object_storage()
104 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
112 obj = *obj_ptr; in zend_objects_store_free_object_storage()
116 GC_ADDREF(obj); in zend_objects_store_free_object_storage()
[all …]
H A Dzend_objects_API.h43 #define OBJ_RELEASE(obj) zend_object_release(obj) argument
67 GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED); in zend_object_store_ctor_failed()
74 if (GC_DELREF(obj) == 0) { in END_EXTERN_C()
75 zend_objects_store_del(obj); in END_EXTERN_C()
76 } else if (UNEXPECTED(GC_MAY_LEAK((zend_refcounted*)obj))) { in END_EXTERN_C()
77 gc_possible_root((zend_refcounted*)obj); in END_EXTERN_C()
91 void *obj = emalloc(obj_size + zend_object_properties_size(ce)); in zend_object_alloc() local
94 memset(obj, 0, obj_size - sizeof(zval)); in zend_object_alloc()
95 return obj; in zend_object_alloc()
100 zend_property_info **table = obj->ce->properties_info_table; in zend_get_property_info_for_slot()
[all …]
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_isCloneable_001.phpt13 $obj = new ReflectionClass($foo);
14 var_dump($obj->isCloneable());
16 var_dump($obj->isCloneable());
26 var_dump($obj->isCloneable());
28 var_dump($obj->isCloneable());
34 var_dump($obj->isCloneable());
36 var_dump($obj->isCloneable());
41 var_dump($obj->isCloneable());
43 var_dump($obj->isCloneable());
48 var_dump($obj->isCloneable());
[all …]
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_067.phpt6 $obj = new class {
14 arr($obj->it);
15 var_dump($obj->it);
16 array_shift($obj->it);
17 var_dump($obj->it);
18 parse_str("foo=bar", $obj->it);
19 var_dump($obj->it);
20 $obj->it = [];
21 var_dump($obj->it);
H A Dtyped_properties_095.phpt10 $obj = new _ZendTestClass;
11 var_dump($obj->intProp);
13 $obj->intProp = "foobar";
17 $obj->intProp = 456;
20 $obj->classProp = $obj;
25 var_dump($obj);
32 $obj = new Test;
33 var_dump($obj->intProp);
39 $obj->intProp = 456;
42 $obj->classProp = $obj;
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_object.phpt29 $obj = mysqli_fetch_object($res);
30 if (($obj->ID !== "1") || ($obj->label !== "a") || (get_class($obj) != 'stdClass')) {
32 var_dump($obj);
46 …if (($obj->ID !== "2") || ($obj->label !== "b") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
48 var_dump($obj);
64 …if (($obj->ID !== "3") || ($obj->label !== "c") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
66 var_dump($obj);
74 …if (($obj->ID !== "4") || ($obj->label !== "d") || ($obj->a !== 'a') || ($obj->b !== NULL) || (get…
76 var_dump($obj);
83 …if (($obj->ID !== "5") || ($obj->label !== "e") || ($obj->a !== 'a') || ($obj->b !== 'b') || (get_…
[all …]

Completed in 67 milliseconds

12345678910>>...21