Home
last modified time | relevance | path

Searched refs:obj (Results 76 – 100 of 487) sorted by relevance

12345678910>>...20

/PHP-7.1/ext/spl/tests/
H A Dbug70959.phpt17 $obj = new testObject();
18 $obj->setTest('test');
19 var_dump($obj->getTest());
20 $obj2 = unserialize(serialize($obj));
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 Dbug31346.phpt5 $obj = new stdClass;
6 $obj->var1=1;
8 $ao = new ArrayObject($obj);
/PHP-7.1/tests/classes/
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 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 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);
/PHP-7.1/Zend/tests/
H A Dbug75420.13.phpt6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; }
12 $obj = new Test;
14 var_dump($obj[$name] ?? 12);
15 var_dump($obj);
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 Dbug75420.14.phpt6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; }
12 $obj = new Test;
14 var_dump(empty($obj[$name]));
15 var_dump($obj);
H A Dbug72813.phpt26 $obj = new Test;
27 $obj->b = $obj->b;
28 print_r($obj->getProperties());
/PHP-7.1/ext/xsl/
H A Dphp_xsl.h75 static inline xsl_object *php_xsl_fetch_object(zend_object *obj) { in php_xsl_fetch_object() argument
76 return (xsl_object *)((char*)(obj) - XtOffsetOf(xsl_object, std)); in php_xsl_fetch_object()
81 void php_xsl_set_object(zval *wrapper, void *obj);
83 void php_xsl_create_object(xsltStylesheetPtr obj, zval *wrapper_in, zval *return_value );
93 #define XSL_DOMOBJ_NEW(zval, obj, ret) \ argument
94 zval = php_xsl_create_object(obj, ret, zval, return_value); \
H A Dphp_xsl.c176 zval *xsl_object_get_data(void *obj) in xsl_object_get_data() argument
179 dom_wrapper = ((xsltStylesheetPtr) obj)->_private; in xsl_object_get_data()
185 static void xsl_object_set_data(void *obj, zval *wrapper) in xsl_object_set_data() argument
187 ((xsltStylesheetPtr) obj)->_private = wrapper; in xsl_object_set_data()
192 void php_xsl_set_object(zval *wrapper, void *obj) in php_xsl_set_object() argument
197 object->ptr = obj; in php_xsl_set_object()
198 xsl_object_set_data(obj, wrapper); in php_xsl_set_object()
203 void php_xsl_create_object(xsltStylesheetPtr obj, zval *wrapper_in, zval *return_value ) in php_xsl_create_object() argument
208 if (!obj) { in php_xsl_create_object()
214 if ((wrapper = xsl_object_get_data((void *) obj))) { in php_xsl_create_object()
[all …]
/PHP-7.1/ext/dom/
H A Dnotation.c48 int dom_notation_public_id_read(dom_object *obj, zval *retval) in dom_notation_public_id_read() argument
50 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read()
73 int dom_notation_system_id_read(dom_object *obj, zval *retval) in dom_notation_system_id_read() argument
75 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read()
H A Dxpath.c81 xmlXPathObjectPtr obj; in dom_xpath_ext_function_php() local
107 obj = valuePop(ctxt); in dom_xpath_ext_function_php()
108 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
119 obj = valuePop(ctxt); in dom_xpath_ext_function_php()
120 switch (obj->type) { in dom_xpath_ext_function_php()
138 if (obj->nodesetval && obj->nodesetval->nodeNr > 0) { in dom_xpath_ext_function_php()
170 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
175 obj = valuePop(ctxt); in dom_xpath_ext_function_php()
178 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
188 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php()
[all …]
H A Dprocessinginstruction.c91 int dom_processinginstruction_target_read(dom_object *obj, zval *retval) in dom_processinginstruction_target_read() argument
93 xmlNodePtr nodep = dom_object_get_node(obj); in dom_processinginstruction_target_read()
112 int dom_processinginstruction_data_read(dom_object *obj, zval *retval) in dom_processinginstruction_data_read() argument
117 nodep = dom_object_get_node(obj); in dom_processinginstruction_data_read()
134 int dom_processinginstruction_data_write(dom_object *obj, zval *newval) in dom_processinginstruction_data_write() argument
136 xmlNode *nodep = dom_object_get_node(obj); in dom_processinginstruction_data_write()
/PHP-7.1/ext/standard/tests/strings/
H A Dhttp_build_query_variation1.phpt20 $obj = new stdClass;
21 $obj->name = 'homepage';
22 $obj->page = 1;
23 $obj->sort = 'desc,name';
25 echo http_build_query($obj) . PHP_EOL;
/PHP-7.1/ext/sqlite3/
H A Dphp_sqlite3_structs.h85 static inline php_sqlite3_db_object *php_sqlite3_db_from_obj(zend_object *obj) { in php_sqlite3_db_from_obj() argument
86 return (php_sqlite3_db_object*)((char*)(obj) - XtOffsetOf(php_sqlite3_db_object, zo)); in php_sqlite3_db_from_obj()
117 static inline php_sqlite3_result *php_sqlite3_result_from_obj(zend_object *obj) { in php_sqlite3_result_from_obj() argument
118 return (php_sqlite3_result*)((char*)(obj) - XtOffsetOf(php_sqlite3_result, zo)); in php_sqlite3_result_from_obj()
136 static inline php_sqlite3_stmt *php_sqlite3_stmt_from_obj(zend_object *obj) { in php_sqlite3_stmt_from_obj() argument
137 return (php_sqlite3_stmt*)((char*)(obj) - XtOffsetOf(php_sqlite3_stmt, zo)); in php_sqlite3_stmt_from_obj()
/PHP-7.1/ext/standard/tests/general_functions/
H A Dbug32647.phpt17 unset($obj);
18 register_shutdown_function(array($obj,"")); // Invalid
19 register_shutdown_function(array($obj,"some string")); // Invalid
27 $obj = new bar;
28 register_shutdown_function(array($obj,'foobar')); // Invalid
29 register_shutdown_function(array($obj,'barfoo')); // Valid
33 Notice: Undefined variable: obj in %s on line %d
37 Notice: Undefined variable: obj in %s on line %d
/PHP-7.1/ext/standard/tests/serialize/
H A Dbug65806.phpt18 public function __construct($obj)
20 $this->_obj = $obj;
65 function check(myObjC $obj) {
67 if (!is_object($obj->attrC)) {
68 return 'failed (myObjC::attrC => ' . var_export($obj->attrC, true) . ')';
70 if (!is_object($obj->attrD)) {
71 return 'failed (myObjC::attrD => ' . var_export($obj->attrD, true) . ')';
/PHP-7.1/sapi/phpdbg/
H A Dtest.php80 $obj = new testClass; variable
82 $test = $obj->a;
84 $obj->a += 2;
87 unset($obj);
/PHP-7.1/Zend/
H A Dzend_gc.c134 obj->ce->name->val, obj->handle); in gc_trace_ref()
388 ZVAL_OBJ(&tmp, obj); in gc_scan_black()
498 ZVAL_OBJ(&tmp, obj); in gc_mark_grey()
626 ZVAL_OBJ(&tmp, obj); in gc_scan()
801 ZVAL_OBJ(&tmp, obj);
980 ZVAL_OBJ(&tmp, obj);
1136 obj->handlers->dtor_obj(obj);
1169 EG(objects_store).object_buckets[obj->handle] = SET_OBJ_INVALID(obj);
1174 GC_REFCOUNT(obj)++;
1175 obj->handlers->free_obj(obj);
[all …]
/PHP-7.1/ext/json/tests/
H A Dserialize.phpt49 'obj' => new StdClass,
64 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}}
66 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}}
68 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}
70 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}
76 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}}
78 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}}

Completed in 42 milliseconds

12345678910>>...20