Lines Matching refs:obj

18 function check(&$obj) {
19 var_dump($obj);
20 $ser = serialize($obj);
25 $uobj->a = "obj->a.changed";
27 $uobj->b = "obj->b.changed";
29 $uobj->c = "obj->c.changed";
34 $obj = new stdClass;
35 $obj->b = 1;
36 $obj->a = &$obj->b;
37 $obj->c = 1;
38 check($obj);
41 $obj = new stdClass;
42 $obj->c = 1;
43 $obj->a = &$obj->c;
44 $obj->b = 1;
45 check($obj);
48 $obj = new stdClass;
49 $obj->a = 1;
50 $obj->b = &$obj->a;
51 $obj->c = 1;
52 check($obj);
55 $obj = new stdClass;
56 $obj->a = 1;
57 $obj->c = 1;
58 $obj->b = &$obj->c;
59 check($obj);
62 $obj = new stdClass;
63 $obj->a = 1;
64 $obj->b = 1;
65 $obj->c = &$obj->a;
66 check($obj);
69 $obj = new stdClass;
70 $obj->a = 1;
71 $obj->b = 1;
72 $obj->c = &$obj->b;
73 check($obj);
76 $obj = new stdClass;
77 $obj->c = 1;
78 $obj->a = &$obj->c;
79 $obj->b = &$obj->c;
80 check($obj);
83 $obj = new stdClass;
84 $obj->b = 1;
85 $obj->a = &$obj->b;
86 $obj->c = &$obj->b;
87 check($obj);
90 $obj = new stdClass;
91 $obj->a = 1;
92 $obj->b = &$obj->a;
93 $obj->c = &$obj->a;
94 check($obj);
119 &string(14) "obj->a.changed"
121 &string(14) "obj->a.changed"
127 &string(14) "obj->b.changed"
129 &string(14) "obj->b.changed"
135 &string(14) "obj->b.changed"
137 &string(14) "obj->b.changed"
139 string(14) "obj->c.changed"
163 &string(14) "obj->a.changed"
165 &string(14) "obj->a.changed"
171 &string(14) "obj->a.changed"
173 &string(14) "obj->a.changed"
175 string(14) "obj->b.changed"
179 &string(14) "obj->c.changed"
181 &string(14) "obj->c.changed"
183 string(14) "obj->b.changed"
207 &string(14) "obj->a.changed"
209 &string(14) "obj->a.changed"
215 &string(14) "obj->b.changed"
217 &string(14) "obj->b.changed"
223 &string(14) "obj->b.changed"
225 &string(14) "obj->b.changed"
227 string(14) "obj->c.changed"
251 string(14) "obj->a.changed"
259 string(14) "obj->a.changed"
261 &string(14) "obj->b.changed"
263 &string(14) "obj->b.changed"
267 string(14) "obj->a.changed"
269 &string(14) "obj->c.changed"
271 &string(14) "obj->c.changed"
295 &string(14) "obj->a.changed"
299 &string(14) "obj->a.changed"
303 &string(14) "obj->a.changed"
305 string(14) "obj->b.changed"
307 &string(14) "obj->a.changed"
311 &string(14) "obj->c.changed"
313 string(14) "obj->b.changed"
315 &string(14) "obj->c.changed"
339 string(14) "obj->a.changed"
347 string(14) "obj->a.changed"
349 &string(14) "obj->b.changed"
351 &string(14) "obj->b.changed"
355 string(14) "obj->a.changed"
357 &string(14) "obj->c.changed"
359 &string(14) "obj->c.changed"
383 &string(14) "obj->a.changed"
385 &string(14) "obj->a.changed"
387 &string(14) "obj->a.changed"
391 &string(14) "obj->b.changed"
393 &string(14) "obj->b.changed"
395 &string(14) "obj->b.changed"
399 &string(14) "obj->c.changed"
401 &string(14) "obj->c.changed"
403 &string(14) "obj->c.changed"
427 &string(14) "obj->a.changed"
429 &string(14) "obj->a.changed"
431 &string(14) "obj->a.changed"
435 &string(14) "obj->b.changed"
437 &string(14) "obj->b.changed"
439 &string(14) "obj->b.changed"
443 &string(14) "obj->c.changed"
445 &string(14) "obj->c.changed"
447 &string(14) "obj->c.changed"
471 &string(14) "obj->a.changed"
473 &string(14) "obj->a.changed"
475 &string(14) "obj->a.changed"
479 &string(14) "obj->b.changed"
481 &string(14) "obj->b.changed"
483 &string(14) "obj->b.changed"
487 &string(14) "obj->c.changed"
489 &string(14) "obj->c.changed"
491 &string(14) "obj->c.changed"