Home
last modified time | relevance | path

Searched refs:obj (Results 51 – 75 of 360) sorted by relevance

12345678910>>...15

/PHP-5.3/tests/classes/
H A Dclone_001.phpt13 $obj = new test;
14 $obj->p2 = 'A';
15 $obj->p3 = 'B';
16 $copy = clone $obj;
19 var_dump($obj);
H A Dclone_002.phpt15 $obj = new test;
16 $obj->p2 = 'A';
17 $obj->p3 = 'B';
18 $copy = clone $obj;
21 var_dump($obj);
H A Dassign_op_property_001.phpt22 $obj = new Test;
23 var_dump($obj->a);
24 $obj->a += 2;
25 var_dump($obj->a);
H A Dincdec_property_001.phpt22 $obj = new Test;
23 var_dump($obj->a);
24 $obj->a++;
25 var_dump($obj->a);
H A Dincdec_property_003.phpt22 $obj = new Test;
23 var_dump($obj->a);
24 ++$obj->a;
25 var_dump($obj->a);
H A Dincdec_property_002.phpt22 $obj = new Test;
23 var_dump($obj->a);
24 $t1 = $obj->a++;
25 var_dump($obj->a);
H A Dincdec_property_004.phpt22 $obj = new Test;
23 var_dump($obj->a);
24 $t1 = ++$obj->a;
25 var_dump($obj->a);
H A Dtostring_004.phpt13 $obj = new stdClass;
15 printf($obj);
19 printf($obj . "\n");
28 $obj = new badToString;
30 printf($obj);
34 printf($obj . "\n");
H A Darray_access_003.phpt40 $obj = new Object;
42 var_dump($obj[1]);
43 var_dump($obj[2]);
44 $obj[2]++;
45 var_dump($obj[2]);
H A Darray_access_004.phpt38 $obj = new Object;
40 var_dump($obj[1]);
41 var_dump($obj[2]);
42 $obj[2]++;
43 var_dump($obj[2]);
/PHP-5.3/ext/dom/
H A Dxml_common.h56 PHP_DOM_EXPORT dom_object *php_dom_object_get_data(xmlNodePtr obj);
57 PHP_DOM_EXPORT zval *php_dom_create_object(xmlNodePtr obj, int *found, zval *in, zval* return_value…
58 PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj);
81 #define DOM_RET_OBJ_EX(obj, ret, domobject) \ argument
82 if (!php_dom_create_object(obj, ret, NULL, return_value, domobject TSRMLS_CC)) { \
87 #define DOM_RET_OBJ(zval, obj, ret, domobject) DOM_RET_OBJ_EX(obj, ret, domobject) argument
H A Dattr.c105 int dom_attr_name_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_name_read() argument
109 attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_name_read()
129 int dom_attr_specified_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_specified_read() argument
144 int dom_attr_value_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_value_read() argument
149 attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_value_read()
170 int dom_attr_value_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_attr_value_write() argument
175 attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_value_write()
211 int dom_attr_owner_element_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_owner_element_read() argument
216 nodep = dom_object_get_node(obj); in dom_attr_owner_element_read()
231 if (NULL == (*retval = php_dom_create_object(nodeparent, &ret, NULL, *retval, obj TSRMLS_CC))) { in dom_attr_owner_element_read()
[all …]
H A Dxpath.c83 xmlXPathObjectPtr obj; in dom_xpath_ext_function_php() local
110 obj = valuePop(ctxt); in dom_xpath_ext_function_php()
111 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
123 obj = valuePop(ctxt); in dom_xpath_ext_function_php()
125 switch (obj->type) { in dom_xpath_ext_function_php()
143 if (obj->nodesetval && obj->nodesetval->nodeNr > 0) { in dom_xpath_ext_function_php()
176 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
183 obj = valuePop(ctxt); in dom_xpath_ext_function_php()
186 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
198 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
[all …]
H A Dnotation.c48 int dom_notation_public_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_notation_public_id_read() argument
52 nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read()
76 int dom_notation_system_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_notation_system_id_read() argument
80 nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read()
/PHP-5.3/Zend/tests/
H A Dbug50146.phpt6 $obj = function(){};
8 var_dump(property_exists($obj,'foo'));
10 $ref = new ReflectionObject($obj);
13 var_dump(isset($obj->a));
H A Dbug29674.phpt23 $obj = new BaseClass;
24 $obj->printVars();
27 $obj = new ChildClass;
28 $obj->printVars();
/PHP-5.3/ext/com_dotnet/
H A Dcom_saproxy.c42 php_com_dotnet_object *obj; member
103 if (V_VT(&proxy->obj->v) == VT_DISPATCH) { in saproxy_read_dimension()
134 } else if (!V_ISARRAY(&proxy->obj->v)) { in saproxy_read_dimension()
144 sa = V_ARRAY(&proxy->obj->v); in saproxy_read_dimension()
183 vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; in saproxy_read_dimension()
240 } else if (V_ISARRAY(&proxy->obj->v)) { in saproxy_write_dimension()
257 vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; in saproxy_write_dimension()
368 if (!V_ISARRAY(&proxy->obj->v)) { in saproxy_count_elements()
444 proxy->obj = rel->obj; in php_com_saproxy_create()
448 proxy->obj = CDNO_FETCH(com_object); in php_com_saproxy_create()
[all …]
H A Dcom_dotnet.c189 php_com_dotnet_object *obj; in PHP_FUNCTION() local
217 obj = CDNO_FETCH(object); in PHP_FUNCTION()
222 &obj->code_page)) { in PHP_FUNCTION()
228 oletype = php_com_string_to_olestring(datatype_name, datatype_name_len, obj->code_page TSRMLS_CC); in PHP_FUNCTION()
229 …oleassembly = php_com_string_to_olestring(assembly_name, assembly_name_len, obj->code_page TSRMLS_… in PHP_FUNCTION()
253 hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v)); in PHP_FUNCTION()
256 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION()
259 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in PHP_FUNCTION()
264 V_DISPATCH(&obj->v) = V_DISPATCH(&unwrapped); in PHP_FUNCTION()
265 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/spl/tests/
H A DSplFileObject_seek_error_001.phpt5 $obj = New SplFileObject(__FILE__);
6 $obj->seek(1,2);
7 $obj->seek();
9 $obj->seek(-1);
H A DSplFileObject_fflush_basic_001.phpt8 $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv');
9 var_dump($obj->fflush());
32 $obj = New SplFileObject("SPLtest://ftruncate_test");
33 var_dump($obj->fflush());
H A DSplFileObject_fseek_error_001.phpt5 $obj = New SplFileObject(__FILE__);
6 $obj->fseek(1,2,3);
7 $obj->fseek();
/PHP-5.3/ext/standard/tests/general_functions/
H A Dbug32647.phpt20 unset($obj);
21 register_shutdown_function(array($obj,"")); // Invalid
22 register_shutdown_function(array($obj,"some string")); // Invalid
30 $obj = new bar;
31 register_shutdown_function(array($obj,'foobar')); // Invalid
32 register_shutdown_function(array($obj,'barfoo')); // Valid
36 Notice: Undefined variable: obj in %s on line %d
40 Notice: Undefined variable: obj in %s on line %d
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_references.phpt104 unset($obj);
106 $obj->id = null;
107 $obj->label = null;
115 var_dump($obj->id);
122 $obj->id = null;
123 $obj->label = null;
124 $id = &$obj->id;
133 var_dump($obj->id);
139 $obj->id = null;
140 $obj->label = null;
[all …]
/PHP-5.3/ext/standard/
H A Duser_filters.c144 if (obj == NULL) { in userfilter_dtor()
152 &obj, in userfilter_dtor()
162 zval_ptr_dtor(&obj); in userfilter_dtor()
217 &obj, in userfilter_filter()
262 Z_OBJ_HANDLER_P(obj, unset_property)(obj, &zpropname TSRMLS_CC); in userfilter_filter()
283 zval *obj, *zfilter; in user_filter_factory_create() local
350 ALLOC_ZVAL(obj); in user_filter_factory_create()
353 Z_SET_ISREF_P(obj); in user_filter_factory_create()
369 &obj, in user_filter_factory_create()
385 zval_ptr_dtor(&obj); in user_filter_factory_create()
[all …]
/PHP-5.3/ext/xsl/
H A Dphp_xsl.c200 zval *xsl_object_get_data(void *obj) in xsl_object_get_data() argument
203 dom_wrapper = ((xsltStylesheetPtr) obj)->_private; in xsl_object_get_data()
209 static void xsl_object_set_data(void *obj, zval *wrapper TSRMLS_DC) in xsl_object_set_data() argument
211 ((xsltStylesheetPtr) obj)->_private = wrapper; in xsl_object_set_data()
216 void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC) in php_xsl_set_object()
221 object->ptr = obj; in php_xsl_set_object()
222 xsl_object_set_data(obj, wrapper TSRMLS_CC); in php_xsl_set_object()
227 zval *php_xsl_create_object(xsltStylesheetPtr obj, int *found, zval *wrapper_in, zval *return_value… in php_xsl_create_object() argument
234 if (!obj) { in php_xsl_create_object()
244 if ((wrapper = (zval *) xsl_object_get_data((void *) obj))) { in php_xsl_create_object()
[all …]

Completed in 102 milliseconds

12345678910>>...15