Home
last modified time | relevance | path

Searched refs:obj (Results 101 – 125 of 594) sorted by relevance

12345678910>>...24

/PHP-8.3/ext/opcache/tests/jit/
H A Dfetch_obj_009.phpt12 $obj = new stdClass;
13 $obj->x[0] = null;
14 $obj->x > $obj->x[0] = null;
/PHP-8.3/Zend/tests/
H A Dbug79477.phpt11 $obj = new Test;
12 $obj->{1} = null;
14 $arr = (array) $obj;
17 echo $obj->prop, "\n";
H A Dproperty_access_errors_for_guarded_properties.phpt6 function setProp($obj) {
7 $obj->prop = 42;
10 function getProp($obj) {
11 var_dump($obj->prop);
14 function unsetProp($obj) {
15 unset($obj->prop);
H A Dassign_typed_ref_result.phpt10 $obj = new Test;
11 $ref =& $obj->prop;
15 $obj = new Test;
17 $ary[0] =& $obj->prop;
H A Dbug75420.5.phpt6 public function __isset($x) { $GLOBALS["obj"] = 24; return true; }
10 $obj = new Test;
12 var_dump($obj->$name ?? 12);
13 var_dump($obj);
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 Dgh13670_002.phpt45 foreach (array_slice($objs, 0, $defaultThreshold) as $obj) {
46 $o = $obj;
53 $obj = new stdClass;
54 $objs[] = $obj;
59 foreach ($objs as $obj) {
60 $o = $obj;
H A Dbug75420.16.phpt8 public function offsetSet($x, $y): void { $GLOBALS["obj"] = 24; var_dump($this); }
12 $obj = new Test;
14 $obj[$name] = 1;
15 var_dump($obj);
H A Dgh13670_003.phpt45 foreach (array_slice($objs, 0, $defaultThreshold) as $obj) {
46 $o = $obj;
53 $obj = new stdClass;
54 $objs[] = $obj;
61 foreach (array_slice($objs, -10) as $obj) {
62 $o = $obj;
/PHP-8.3/ext/spl/tests/
H A Darray_024.phpt5 $obj = new ArrayObject(array(1,2));
6 var_dump(count($obj));
12 $obj = new ArrayObject2(array(1,2));
13 var_dump(count($obj));
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));
/PHP-8.3/ext/dom/
H A Dxml_common.h32 static inline dom_object *php_dom_obj_from_obj(zend_object *obj) { in php_dom_obj_from_obj() argument
33 return (dom_object*)((char*)(obj) - XtOffsetOf(dom_object, std)); in php_dom_obj_from_obj()
55 PHP_DOM_EXPORT dom_object *php_dom_object_get_data(xmlNodePtr obj);
56 PHP_DOM_EXPORT bool php_dom_create_object(xmlNodePtr obj, zval* return_value, dom_object *domobj);
57 PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj);
79 #define DOM_RET_OBJ(obj, ret, domobject) \ argument
80 *ret = php_dom_create_object(obj, return_value, domobject)
H A Dnotation.c40 int dom_notation_public_id_read(dom_object *obj, zval *retval) in dom_notation_public_id_read() argument
42 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read()
65 int dom_notation_system_id_read(dom_object *obj, zval *retval) in dom_notation_system_id_read() argument
67 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read()
H A Dprocessinginstruction.c73 int dom_processinginstruction_target_read(dom_object *obj, zval *retval) in dom_processinginstruction_target_read() argument
75 xmlNodePtr nodep = dom_object_get_node(obj); in dom_processinginstruction_target_read()
94 int dom_processinginstruction_data_read(dom_object *obj, zval *retval) in dom_processinginstruction_data_read() argument
96 xmlNodePtr nodep = dom_object_get_node(obj); in dom_processinginstruction_data_read()
108 int dom_processinginstruction_data_write(dom_object *obj, zval *newval) in dom_processinginstruction_data_write() argument
110 xmlNode *nodep = dom_object_get_node(obj); in dom_processinginstruction_data_write()
/PHP-8.3/ext/mysqli/
H A Dmysqli_driver.c31 static int driver_report_read(mysqli_object *obj, zval *retval, bool quiet) in driver_report_read() argument
39 static int driver_report_write(mysqli_object *obj, zval *value) in driver_report_write() argument
48 static int driver_client_version_read(mysqli_object *obj, zval *retval, bool quiet) in driver_client_version_read() argument
56 static int driver_client_info_read(mysqli_object *obj, zval *retval, bool quiet) in driver_client_info_read() argument
64 static int driver_driver_version_read(mysqli_object *obj, zval *retval, bool quiet) in driver_driver_version_read() argument
/PHP-8.3/Zend/tests/weakrefs/
H A Dgh10043-003.phpt12 $obj = new Value('a');
13 $map[$obj] = [$obj, $map];
22 // $obj is first in the root buffer
23 $obj = null;
/PHP-8.3/ext/xsl/
H A Dphp_xsl.c146 zval *xsl_object_get_data(void *obj) in xsl_object_get_data() argument
149 dom_wrapper = ((xsltStylesheetPtr) obj)->_private; in xsl_object_get_data()
155 static void xsl_object_set_data(void *obj, zval *wrapper) in xsl_object_set_data() argument
157 ((xsltStylesheetPtr) obj)->_private = wrapper; in xsl_object_set_data()
162 void php_xsl_set_object(zval *wrapper, void *obj) in php_xsl_set_object() argument
167 object->ptr = obj; in php_xsl_set_object()
168 xsl_object_set_data(obj, wrapper); in php_xsl_set_object()
173 void php_xsl_create_object(xsltStylesheetPtr obj, zval *wrapper_in, zval *return_value ) in php_xsl_create_object() argument
178 if (!obj) { in php_xsl_create_object()
184 if ((wrapper = xsl_object_get_data((void *) obj))) { in php_xsl_create_object()
[all …]
/PHP-8.3/ext/standard/tests/serialize/
H A Dbug70219_1.phpt10 class obj implements Serializable {
21 $exploit = 'a:2:{i:0;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:1;C:3:"obj":'.strlen($inner).':{'.$…
36 object(obj)#%d (1) {
41 object(obj)#%d (1) {
46 object(obj)#1 (1) {
/PHP-8.3/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);
/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_fetchobject_ctor_args.phpt46 $obj = $stmt->fetchObject(Foo::class);
53 $obj = $stmt->fetchObject(Foo::class, []);
59 $obj = $stmt->fetchObject(Foo::class, ["a" => 123]);
60 var_dump($obj);
63 $obj = $stmt->fetchObject(Bar::class);
64 var_dump($obj);
67 $obj = $stmt->fetchObject(Bar::class, []);
68 var_dump($obj);
72 $obj = $stmt->fetchObject(Bar::class, ["a" => 123]);
/PHP-8.3/ext/sqlite3/
H A Dphp_sqlite3_structs.h77 static inline php_sqlite3_db_object *php_sqlite3_db_from_obj(zend_object *obj) { in php_sqlite3_db_from_obj() argument
78 return (php_sqlite3_db_object*)((char*)(obj) - XtOffsetOf(php_sqlite3_db_object, zo)); in php_sqlite3_db_from_obj()
113 static inline php_sqlite3_result *php_sqlite3_result_from_obj(zend_object *obj) { in php_sqlite3_result_from_obj() argument
114 return (php_sqlite3_result*)((char*)(obj) - XtOffsetOf(php_sqlite3_result, zo)); in php_sqlite3_result_from_obj()
132 static inline php_sqlite3_stmt *php_sqlite3_stmt_from_obj(zend_object *obj) { in php_sqlite3_stmt_from_obj() argument
133 return (php_sqlite3_stmt*)((char*)(obj) - XtOffsetOf(php_sqlite3_stmt, zo)); in php_sqlite3_stmt_from_obj()

Completed in 37 milliseconds

12345678910>>...24