/PHP-7.3/ext/spl/tests/ |
H A D | arrayObject_exchangeArray_basic2.phpt | 12 $obj = new stdClass; 13 $obj->key = 'normal object prop'; 14 $ao->exchangeArray($obj); 19 $obj = new ArrayObject(array('key'=>'ArrayObject element')); 20 $ao->exchangeArray($obj); 25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element')); 26 $ao->exchangeArray($obj); 31 $obj = new ArrayObject(new ArrayObject(array('key'=>'nested ArrayObject element'))); 32 $ao->exchangeArray($obj);
|
H A D | bug70959.phpt | 17 $obj = new testObject(); 18 $obj->setTest('test'); 19 var_dump($obj->getTest()); 20 $obj2 = unserialize(serialize($obj));
|
H A D | array_028.phpt | 14 $obj = new ArrayObject($array); 15 foreach ($obj as $v) { 19 $obj = new ArrayObject($it); 20 foreach ($obj as $v) {
|
H A D | SplFileObject_seek_error_001.phpt | 5 $obj = New SplFileObject(__FILE__); 6 $obj->seek(1,2); 7 $obj->seek(); 9 $obj->seek(-1);
|
/PHP-7.3/Zend/tests/ |
H A D | bug75420.6.phpt | 6 public function __isset($x) { $GLOBALS["obj"] = 24; return true; } 10 $obj = new Test; 12 var_dump(empty($obj->$name)); 13 var_dump($obj);
|
H A D | bug75420.16.phpt | 8 public function offsetSet($x, $y) { $GLOBALS["obj"] = 24; var_dump($this); } 12 $obj = new Test; 14 $obj[$name] = 1; 15 var_dump($obj);
|
H A D | bug75420.13.phpt | 6 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 D | bug50146.phpt | 6 $obj = function(){}; 8 var_dump(property_exists($obj,'foo')); 10 $ref = new ReflectionObject($obj); 13 var_dump(isset($obj->a));
|
H A D | bug75420.14.phpt | 6 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 D | bug72813.phpt | 26 $obj = new Test; 27 $obj->b = $obj->b; 28 print_r($obj->getProperties());
|
/PHP-7.3/ext/dom/ |
H A D | xml_common.h | 34 static inline dom_object *php_dom_obj_from_obj(zend_object *obj) { in php_dom_obj_from_obj() argument 35 return (dom_object*)((char*)(obj) - XtOffsetOf(dom_object, std)); in php_dom_obj_from_obj() 57 PHP_DOM_EXPORT dom_object *php_dom_object_get_data(xmlNodePtr obj); 58 PHP_DOM_EXPORT zend_bool php_dom_create_object(xmlNodePtr obj, zval* return_value, dom_object *domo… 59 PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj); 83 #define DOM_RET_OBJ(obj, ret, domobject) \ argument 84 *ret = php_dom_create_object(obj, return_value, domobject)
|
H A D | notation.c | 46 int dom_notation_public_id_read(dom_object *obj, zval *retval) in dom_notation_public_id_read() argument 48 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read() 71 int dom_notation_system_id_read(dom_object *obj, zval *retval) in dom_notation_system_id_read() argument 73 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read()
|
H A D | xpath.c | 79 xmlXPathObjectPtr obj; in dom_xpath_ext_function_php() local 105 obj = valuePop(ctxt); in dom_xpath_ext_function_php() 106 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php() 117 obj = valuePop(ctxt); in dom_xpath_ext_function_php() 118 switch (obj->type) { in dom_xpath_ext_function_php() 135 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 …]
|
/PHP-7.3/tests/classes/ |
H A D | assign_op_property_001.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $obj->a += 2; 25 var_dump($obj->a);
|
H A D | incdec_property_001.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $obj->a++; 25 var_dump($obj->a);
|
H A D | incdec_property_003.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 ++$obj->a; 25 var_dump($obj->a);
|
H A D | incdec_property_002.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $t1 = $obj->a++; 25 var_dump($obj->a);
|
H A D | incdec_property_004.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $t1 = ++$obj->a; 25 var_dump($obj->a);
|
H A D | tostring_004.phpt | 13 $obj = new stdClass; 15 printf($obj); 19 printf($obj . "\n"); 28 $obj = new badToString; 30 printf($obj); 34 printf($obj . "\n");
|
/PHP-7.3/ext/com_dotnet/ |
H A D | com_saproxy.c | 41 php_com_dotnet_object *obj; member 96 if (V_VT(&proxy->obj->v) == VT_DISPATCH) { in saproxy_read_dimension() 129 } else if (!V_ISARRAY(&proxy->obj->v)) { in saproxy_read_dimension() 139 sa = V_ARRAY(&proxy->obj->v); in saproxy_read_dimension() 178 vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; in saproxy_read_dimension() 235 } else if (V_ISARRAY(&proxy->obj->v)) { in saproxy_write_dimension() 252 vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; in saproxy_write_dimension() 356 if (!V_ISARRAY(&proxy->obj->v)) { in saproxy_count_elements() 433 proxy->obj = rel->obj; in php_com_saproxy_create() 437 proxy->obj = CDNO_FETCH(com_object); in php_com_saproxy_create() [all …]
|
/PHP-7.3/ext/xsl/ |
H A D | php_xsl.h | 73 static inline xsl_object *php_xsl_fetch_object(zend_object *obj) { in php_xsl_fetch_object() argument 74 return (xsl_object *)((char*)(obj) - XtOffsetOf(xsl_object, std)); in php_xsl_fetch_object() 79 void php_xsl_set_object(zval *wrapper, void *obj); 81 void php_xsl_create_object(xsltStylesheetPtr obj, zval *wrapper_in, zval *return_value ); 91 #define XSL_DOMOBJ_NEW(zval, obj, ret) \ argument 92 zval = php_xsl_create_object(obj, ret, zval, return_value); \
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | http_build_query_variation1.phpt | 20 $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.3/ext/sqlite3/ |
H A D | php_sqlite3_structs.h | 83 static inline php_sqlite3_db_object *php_sqlite3_db_from_obj(zend_object *obj) { in php_sqlite3_db_from_obj() argument 84 return (php_sqlite3_db_object*)((char*)(obj) - XtOffsetOf(php_sqlite3_db_object, zo)); in php_sqlite3_db_from_obj() 115 static inline php_sqlite3_result *php_sqlite3_result_from_obj(zend_object *obj) { in php_sqlite3_result_from_obj() argument 116 return (php_sqlite3_result*)((char*)(obj) - XtOffsetOf(php_sqlite3_result, zo)); in php_sqlite3_result_from_obj() 134 static inline php_sqlite3_stmt *php_sqlite3_stmt_from_obj(zend_object *obj) { in php_sqlite3_stmt_from_obj() argument 135 return (php_sqlite3_stmt*)((char*)(obj) - XtOffsetOf(php_sqlite3_stmt, zo)); in php_sqlite3_stmt_from_obj()
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | bug32647.phpt | 17 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.3/sapi/phpdbg/ |
H A D | test.php | 80 $obj = new testClass; variable 82 $test = $obj->a; 84 $obj->a += 2; 87 unset($obj);
|