Lines Matching refs:a
6 * Description: Returns a string representation of variable (which can later be unserialized)
11 * Description: Takes a string representation of variable and recreates it
16 function check(&$a) {
17 var_dump($a);
18 $ser = serialize($a);
32 $a = array();
33 $a[0] = 1;
34 $a[1] = 1;
35 $a[2] = 1;
36 check($a);
39 $a = array();
40 $a[0] = &$a[1];
41 $a[1] = 1;
42 $a[2] = 1;
43 check($a);
46 $a = array();
47 $a[0] = &$a[2];
48 $a[1] = 1;
49 $a[2] = 1;
50 check($a);
53 $a = array();
54 $a[0] = 1;
55 $a[1] = &$a[0];
56 $a[2] = 1;
57 check($a);
60 $a = array();
61 $a[0] = 1;
62 $a[1] = &$a[2];
63 $a[2] = 1;
64 check($a);
67 $a = array();
68 $a[0] = 1;
69 $a[1] = 1;
70 $a[2] = &$a[0];
71 check($a);
74 $a = array();
75 $a[0] = 1;
76 $a[1] = 1;
77 $a[2] = &$a[1];
78 check($a);
81 $a = array();
82 $a[0] = &$a[2];
83 $a[1] = &$a[2];
84 $a[2] = 1;
85 check($a);
88 $a = array();
89 $a[0] = &$a[1];
90 $a[1] = 1;
91 $a[2] = &$a[1];
92 check($a);
95 $a = array();
96 $a[0] = 1;
97 $a[1] = &$a[0];
98 $a[2] = &$a[0];
99 check($a);
115 string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;i:1;}"
159 string(30) "a:3:{i:1;i:1;i:0;R:2;i:2;i:1;}"
203 string(30) "a:3:{i:2;i:1;i:0;R:2;i:1;i:1;}"
247 string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;i:1;}"
291 string(30) "a:3:{i:0;i:1;i:2;i:1;i:1;R:3;}"
335 string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;R:2;}"
379 string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;R:3;}"
423 string(30) "a:3:{i:2;i:1;i:0;R:2;i:1;R:2;}"
467 string(30) "a:3:{i:1;i:1;i:0;R:2;i:2;R:2;}"
511 string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;R:2;}"