Lines Matching refs:obj
8 function check(&$obj) {
9 var_dump($obj);
10 $ser = serialize($obj);
15 $uobj->a = "obj->a.changed";
17 $uobj->b = "obj->b.changed";
19 $uobj->c = "obj->c.changed";
25 $obj = new stdClass;
26 $obj->a = &$obj;
27 $obj->b = 1;
28 $obj->c = 1;
29 check($obj);
33 $obj = new stdClass;
34 $obj->a = $obj;
35 $obj->b = 1;
36 $obj->c = 1;
37 check($obj);
41 $obj = new stdClass;
42 $obj->a = &$obj;
43 $obj->b = &$obj;
44 $obj->c = 1;
45 check($obj);
49 $obj = new stdClass;
50 $obj->a = $obj;
51 $obj->b = $obj;
52 $obj->c = 1;
53 check($obj);
57 $obj = new stdClass;
58 $obj->a = &$obj;
59 $obj->b = &$obj;
60 $obj->c = &$obj;
61 check($obj);
65 $obj = new stdClass;
66 $obj->a = $obj;
67 $obj->b = $obj;
68 $obj->c = $obj;
69 check($obj);
94 string(14) "obj->a.changed"
102 string(14) "obj->a.changed"
104 string(14) "obj->b.changed"
110 string(14) "obj->a.changed"
112 string(14) "obj->b.changed"
114 string(14) "obj->c.changed"
138 string(14) "obj->a.changed"
146 string(14) "obj->a.changed"
148 string(14) "obj->b.changed"
154 string(14) "obj->a.changed"
156 string(14) "obj->b.changed"
158 string(14) "obj->c.changed"
182 &string(14) "obj->a.changed"
184 &string(14) "obj->a.changed"
190 &string(14) "obj->b.changed"
192 &string(14) "obj->b.changed"
198 &string(14) "obj->b.changed"
200 &string(14) "obj->b.changed"
202 string(14) "obj->c.changed"
226 string(14) "obj->a.changed"
234 string(14) "obj->a.changed"
236 string(14) "obj->b.changed"
242 string(14) "obj->a.changed"
244 string(14) "obj->b.changed"
246 string(14) "obj->c.changed"
270 &string(14) "obj->a.changed"
272 &string(14) "obj->a.changed"
274 &string(14) "obj->a.changed"
278 &string(14) "obj->b.changed"
280 &string(14) "obj->b.changed"
282 &string(14) "obj->b.changed"
286 &string(14) "obj->c.changed"
288 &string(14) "obj->c.changed"
290 &string(14) "obj->c.changed"
314 string(14) "obj->a.changed"
322 string(14) "obj->a.changed"
324 string(14) "obj->b.changed"
330 string(14) "obj->a.changed"
332 string(14) "obj->b.changed"
334 string(14) "obj->c.changed"