Lines Matching refs:a
14 $a['x'] = 'foo';
15 $a['x'] = &$a;
17 var_dump(wddx_serialize_vars($a));
19 // replace $a - the recursion detection seems to be causing $a to be not an array here, maybe its i…
20 // replacing $a with a new array() allows this test to still check for 2 things
21 // 1. recursion detection in &$a;
22 // 2. recursion detection in adding $a to itself and then serializing $a
23 // the one thing the test won't check is using $a as an array after doing &$a; which isn't really a…
24 $a = array();
25 $a['x'] = 'foo';
26 $a['x'] = $a;
28 var_dump(wddx_serialize_vars($a));