Home
last modified time | relevance | path

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

12345678910>>...21

/PHP-7.4/ext/spl/tests/
H A Dbug65545.phpt5 $obj = new SplFileObject(__FILE__, 'r');
6 $data = $obj->fread(5);
9 $data = $obj->fread();
12 $data = $obj->fread(0);
16 $data = $obj->fread(filesize(__FILE__) + 32);
H A DarrayObject_exchangeArray_basic2.phpt12 $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 Darray_028.phpt14 $obj = new ArrayObject($array);
15 foreach ($obj as $v) {
19 $obj = new ArrayObject($it);
20 foreach ($obj as $v) {
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);
/PHP-7.4/Zend/tests/
H A Dbug75420.6.phpt6 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 Dobjects_022.phpt13 public function testFoo(self $obj) {
14 var_dump($obj);
16 public function testBar(parent $obj) {
17 var_dump($obj);
19 public function testBaz(iTest $obj) {
20 var_dump($obj);
H A Dbug75420.16.phpt8 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 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 Dforeach_by_ref_to_property.phpt5 $obj = new stdClass;
6 foreach ([0] as &$obj->prop) {
7 var_dump($obj->prop);
H A Dbug72813.phpt26 $obj = new Test;
27 $obj->b = $obj->b;
28 print_r($obj->getProperties());
H A Dbug76752.phpt5 $obj = new stdClass;
7 $obj->prop = &$val;
8 var_dump($obj->prop ?? []);
/PHP-7.4/ext/dom/
H A Dxml_common.h34 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 Dnotation.c46 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()
/PHP-7.4/ext/xsl/
H A Dphp_xsl.h73 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.4/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 Dincdec_property_004.phpt22 $obj = new Test;
23 var_dump($obj->a);
24 $t1 = ++$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);
/PHP-7.4/ext/spl/
H A Dspl_observer.c93 zval obj; member
186 ZVAL_COPY(&element.obj, obj); in spl_object_storage_attach()
412 zval *obj; in SPL_METHOD() local
428 zval *obj; in SPL_METHOD() local
442 zval *obj; in SPL_METHOD() local
471 zval *obj; in SPL_METHOD() local
490 zval *obj; in SPL_METHOD() local
518 zval *obj; in SPL_METHOD() local
546 zval *obj; in SPL_METHOD() local
1120 it = &element->obj; in SPL_METHOD()
[all …]
/PHP-7.4/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.4/ext/sqlite3/
H A Dphp_sqlite3_structs.h83 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()

Completed in 29 milliseconds

12345678910>>...21