Lines Matching refs:obj
6 function check(&$obj) {
7 var_dump($obj);
8 $ser = serialize($obj);
13 $uobj->a = "obj->a.changed";
15 $uobj->b = "obj->b.changed";
17 $uobj->c = "obj->c.changed";
23 $obj = new stdClass;
24 $obj->a = &$obj;
25 $obj->b = 1;
26 $obj->c = 1;
27 check($obj);
31 $obj = new stdClass;
32 $obj->a = $obj;
33 $obj->b = 1;
34 $obj->c = 1;
35 check($obj);
39 $obj = new stdClass;
40 $obj->a = &$obj;
41 $obj->b = &$obj;
42 $obj->c = 1;
43 check($obj);
47 $obj = new stdClass;
48 $obj->a = $obj;
49 $obj->b = $obj;
50 $obj->c = 1;
51 check($obj);
55 $obj = new stdClass;
56 $obj->a = &$obj;
57 $obj->b = &$obj;
58 $obj->c = &$obj;
59 check($obj);
63 $obj = new stdClass;
64 $obj->a = $obj;
65 $obj->b = $obj;
66 $obj->c = $obj;
67 check($obj);
92 string(14) "obj->a.changed"
100 string(14) "obj->a.changed"
102 string(14) "obj->b.changed"
108 string(14) "obj->a.changed"
110 string(14) "obj->b.changed"
112 string(14) "obj->c.changed"
136 string(14) "obj->a.changed"
144 string(14) "obj->a.changed"
146 string(14) "obj->b.changed"
152 string(14) "obj->a.changed"
154 string(14) "obj->b.changed"
156 string(14) "obj->c.changed"
180 &string(14) "obj->a.changed"
182 &string(14) "obj->a.changed"
188 &string(14) "obj->b.changed"
190 &string(14) "obj->b.changed"
196 &string(14) "obj->b.changed"
198 &string(14) "obj->b.changed"
200 string(14) "obj->c.changed"
224 string(14) "obj->a.changed"
232 string(14) "obj->a.changed"
234 string(14) "obj->b.changed"
240 string(14) "obj->a.changed"
242 string(14) "obj->b.changed"
244 string(14) "obj->c.changed"
268 &string(14) "obj->a.changed"
270 &string(14) "obj->a.changed"
272 &string(14) "obj->a.changed"
276 &string(14) "obj->b.changed"
278 &string(14) "obj->b.changed"
280 &string(14) "obj->b.changed"
284 &string(14) "obj->c.changed"
286 &string(14) "obj->c.changed"
288 &string(14) "obj->c.changed"
312 string(14) "obj->a.changed"
320 string(14) "obj->a.changed"
322 string(14) "obj->b.changed"
328 string(14) "obj->a.changed"
330 string(14) "obj->b.changed"
332 string(14) "obj->c.changed"