/PHP-7.4/ext/spl/tests/ |
H A D | bug65545.phpt | 5 $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 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 | 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 | bug70959.phpt | 17 $obj = new testObject(); 18 $obj->setTest('test'); 19 var_dump($obj->getTest()); 20 $obj2 = unserialize(serialize($obj));
|
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.4/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 | objects_022.phpt | 13 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 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 | foreach_by_ref_to_property.phpt | 5 $obj = new stdClass; 6 foreach ([0] as &$obj->prop) { 7 var_dump($obj->prop);
|
H A D | bug72813.phpt | 26 $obj = new Test; 27 $obj->b = $obj->b; 28 print_r($obj->getProperties());
|
H A D | bug76752.phpt | 5 $obj = new stdClass; 7 $obj->prop = &$val; 8 var_dump($obj->prop ?? []);
|
/PHP-7.4/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()
|
/PHP-7.4/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.4/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_004.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $t1 = ++$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);
|
/PHP-7.4/ext/spl/ |
H A D | spl_observer.c | 93 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 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.4/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()
|