Date: 02/12/10 (PHP Development) Keywords: database I'm surprised to see the var_dumps aren't identical. Is there any reason in practice to worry about the difference between them? Also, in general, is code like following frowned upon? I'm building up a data structure through reading rows from a database -- an array of arrays. array('C'=>'C')));has output array(1) { ["B"]=> &array(1) { ["C"]=> string(1) "C" } } array(1) { ["B"]=> array(1) { ["C"]=> string(1) "C" } }
|