title: PHP - printing out an array does not seem to produce what I intended
body: <p>I am using PHP and trying to create an array that looks something like this:</p>
  
  <pre><code>{
      "aps" : {
          "alert" : "Hey"
      },
      "custom_control" : {
          "type" : "topic_comment",
          "object":{
              "topic_id":"123",
              "topic_section":"test"
                          "plan_id":"456"
          }
      }
  }
  </code></pre>
  
  <p>The code I have is:</p>
  
  <pre><code> &lt;?php
      $message = array(
          "aps" =&gt; array(
              "alert" =&gt; "hey"
          ),
          "custom_control" =&gt; array(
              "type" =&gt; "topic_comment",
              "object" =&gt; array(
                  "topic_id" =&gt; "123",
                  "topic_section" =&gt; "abc",
                  "plan_id" =&gt; "456"
              )
          )
      );
  
  print_r($message);
  ?&gt;
  </code></pre>
  
  <p>but what is printed out is this:</p>
  
  <pre><code>Array ( [aps] =&gt; Array ( [alert] =&gt; hey ) [custom_control] =&gt; Array ( [type] =&gt; topic_comment [object] =&gt; Array ( [topic_id] =&gt; 123 [topic_section] =&gt; abc [plan_id] =&gt; 456 ) ) )
  </code></pre>
  
  <p>It seems like this is a totally different format from what I had intendd. Or am I incorrect in some way?</p>
  
  <p>Thanks,
  Alex</p>