/PHP-8.3/tests/classes/ |
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; 16 printf($obj); 24 printf($obj . "\n"); 36 $obj = new badToString; 39 printf($obj); 47 printf($obj . "\n");
|
/PHP-8.3/Zend/tests/ |
H A D | bug75420.13.phpt | 6 public function offsetExists($x): bool { $GLOBALS["obj"] = 24; return true; } 12 $obj = new Test; 14 var_dump($obj[$name] ?? 12); 15 var_dump($obj);
|
H A D | bug75420.14.phpt | 6 public function offsetExists($x): bool { $GLOBALS["obj"] = 24; return true; } 12 $obj = new Test; 14 var_dump(empty($obj[$name])); 15 var_dump($obj);
|
H A D | bug67938.phpt | 20 $obj = new Test; 21 $obj->foo(); 22 $obj->bar([]); 23 $obj->bar([], 1);
|
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 ?? []);
|
H A D | get_mangled_object_vars.phpt | 16 $obj = new B; 17 $obj->dyn = 5; 18 $obj->{"6"} = 6; 20 var_export(get_mangled_object_vars($obj));
|
H A D | dynamic_prop_name_leak.phpt | 5 $obj = new stdClass; 7 $ref =& $obj->$name; 8 var_dump($obj);
|
/PHP-8.3/ext/spl/tests/SplFileObject/ |
H A D | bug65545.phpt | 5 $obj = new SplFileObject(__FILE__, 'r'); 6 $data = $obj->fread(5); 10 $data = $obj->fread(0); 17 $data = $obj->fread(filesize(__FILE__) + 32);
|
/PHP-8.3/Zend/tests/weakrefs/ |
H A D | gh10043-001.phpt | 12 $obj = new Value('a'); 13 $map[$obj] = $obj; 19 $obj = null;
|
H A D | gh10043-002.phpt | 12 $obj = new Value('a'); 13 $map[$obj] = [$obj]; 19 $obj = null;
|
H A D | gh10043-005.phpt | 12 $obj = new Value('a'); 13 $value = [$obj]; 14 $map[$obj] = $value; 15 $obj = null;
|
H A D | gh10043-004.phpt | 12 $obj = new Value('a'); 13 $map[$obj] = [$map, $obj]; 24 $obj = null;
|
/PHP-8.3/ext/opcache/tests/opt/ |
H A D | dce_012.phpt | 8 $obj = $a = $a; 9 $obj = new stdClass; 10 $obj->orop1 = 'abc'; 17 $obj->prop1 = null;
|
H A D | sccp_035.phpt | 10 $obj = new stdClass; 11 $obj->$b = ~$b = $a=''; 12 $obj->$a--;
|
/PHP-8.3/ext/date/ |
H A D | php_date.h | 46 static inline php_date_obj *php_date_obj_from_obj(zend_object *obj) { in php_date_obj_from_obj() argument 47 return (php_date_obj*)((char*)(obj) - XtOffsetOf(php_date_obj, std)); in php_date_obj_from_obj() 63 static inline php_timezone_obj *php_timezone_obj_from_obj(zend_object *obj) { in php_timezone_obj_from_obj() argument 64 return (php_timezone_obj*)((char*)(obj) - XtOffsetOf(php_timezone_obj, std)); in php_timezone_obj_from_obj() 81 static inline php_interval_obj *php_interval_obj_from_obj(zend_object *obj) { in php_interval_obj_from_obj() argument 82 return (php_interval_obj*)((char*)(obj) - XtOffsetOf(php_interval_obj, std)); in php_interval_obj_from_obj() 100 static inline php_period_obj *php_period_obj_from_obj(zend_object *obj) { in php_period_obj_from_obj() argument 101 return (php_period_obj*)((char*)(obj) - XtOffsetOf(php_period_obj, std)); in php_period_obj_from_obj()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | test.php | 80 $obj = new testClass; variable 82 $test = $obj->a; 84 $obj->a += 2; 87 unset($obj);
|
/PHP-8.3/ext/json/tests/ |
H A D | serialize.phpt | 49 'obj' => new StdClass, 65 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 67 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 69 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}} 71 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}} 77 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 79 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}}
|
/PHP-8.3/ext/standard/tests/serialize/ |
H A D | bug65806.phpt | 18 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-8.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_result_references.phpt | 104 unset($obj); 106 $obj->id = null; 107 $obj->label = null; 115 var_dump($obj->id); 122 $obj->id = null; 123 $obj->label = null; 124 $id = &$obj->id; 133 var_dump($obj->id); 139 $obj->id = null; 140 $obj->label = null; [all …]
|
/PHP-8.3/ext/spl/tests/ |
H A D | bug31346.phpt | 5 $obj = new stdClass; 6 $obj->var1=1; 8 $ao = new ArrayObject($obj);
|
H A D | ArrayObject_modify_shared_object_properties.phpt | 6 $obj = (object)['a' => 1, 'b' => 2]; 7 $ao = new ArrayObject($obj); 8 $arr = (array) $obj;
|