EZ array problem - What's wrong with my brain?

From: Date: Fri, 01 Dec 2006 01:11:04 +0000
Subject: EZ array problem - What's wrong with my brain?
Groups: php.general 
Request: Send a blank email to php-general+get-245385@lists.php.net to get a copy of this message
var_dump() gives me this: array(1) { ["1.2"]=> array(2) {
    ["code"]=>
    array(1) {
      [0]=>
      string(3) "111"
    }
    ["status"]=>
    array(1) {
      [0]=>
      string(3) "new"
    }
} } I'm trying to set a variable to that "1.2". Shouldn't I be able to get it with $var = $arr[0][0]?

« previous php.general (#245385) next »