title: Array element retrieval from passed parameter in a PHP file
body: <p>I am calling a PHP file using http.post, passing a json object in the process.
  I have managed to retrieve the object from within the PHP and have attached the dump below. All I now need is to retrieve 'name', 'email' and 'message' strings from the array but am finding this difficult as not used to PHP. </p>
  
  <pre><code>            Connected successfully&lt;pre&gt;string(2467) "Array
              (
                  [name] =&gt; Array
                      (
                          [$viewValue] =&gt; testing one two
                          [$modelValue] =&gt; testing one two
                          [$validators] =&gt; Array
                              (
                              )
  
                          [$asyncValidators] =&gt; Array
                              (
                              )
  
                          [$parsers] =&gt; Array
                              (
                              )
  
                          [$formatters] =&gt; Array
                              (
                                  [0] =&gt; 
                              )
  
                          [$viewChangeListeners] =&gt; Array
                              (
                              )
  
                          [$untouched] =&gt; 
                          [$touched] =&gt; 1
                          [$pristine] =&gt; 
                          [$dirty] =&gt; 1
                          [$valid] =&gt; 1
                          [$invalid] =&gt; 
                          [$error] =&gt; Array
                              (
                              )
  
                          [$name] =&gt; fullName
                          [$options] =&gt; 
                      )
  
                  [email] =&gt; Array
                      (
                          [$viewValue] =&gt; test@onetwo.com
                          [$modelValue] =&gt; test@onetwo.com
                          [$validators] =&gt; Array
                              (
                              )
  
                          [$asyncValidators] =&gt; Array
                              (
                              )
  
                          [$parsers] =&gt; Array
                              (
                              )
  
                          [$formatters] =&gt; Array
                              (
                                  [0] =&gt; 
                              )
  
                          [$viewChangeListeners] =&gt; Array
                              (
                              )
  
                          [$untouched] =&gt; 
                          [$touched] =&gt; 1
                          [$pristine] =&gt; 
                          [$dirty] =&gt; 1
                          [$valid] =&gt; 1
                          [$invalid] =&gt; 
                          [$error] =&gt; Array
                              (
                              )
  
                          [$name] =&gt; email
                          [$options] =&gt; 
                      )
  
                  [message] =&gt; Array
                      (
                          [$viewValue] =&gt; testing testing
                          [$modelValue] =&gt; testing testing
                          [$validators] =&gt; Array
                              (
                              )
  
                          [$asyncValidators] =&gt; Array
                              (
                              )
  
                          [$parsers] =&gt; Array
                              (
                              )
  
                          [$formatters] =&gt; Array
                              (
                                  [0] =&gt; 
                              )
  
                          [$viewChangeListeners] =&gt; Array
                              (
                              )
  
                          [$untouched] =&gt; 
                          [$touched] =&gt; 1
                          [$pristine] =&gt; 
                          [$dirty] =&gt; 1
                          [$valid] =&gt; 1
                          [$invalid] =&gt; 
                          [$error] =&gt; Array
                              (
                              )
  
                          [$name] =&gt; message
                          [$options] =&gt; 
                      )
  
              )
              "
              &lt;br /&gt;&lt;br /&gt;Array
              (
                  [name] =&gt; Array
                      (
                          [$viewValue] =&gt; testing one two
                          [$modelValue] =&gt; testing one two
                          [$validators] =&gt; Array
                              (
                              )
  
                          [$asyncValidators] =&gt; Array
                              (
                              )
  
                          [$parsers] =&gt; Array
                              (
                              )
  
                          [$formatters] =&gt; Array
                              (
                                  [0] =&gt; 
                              )
  
                          [$viewChangeListeners] =&gt; Array
                              (
                              )
  
                          [$untouched] =&gt; 
                          [$touched] =&gt; 1
                          [$pristine] =&gt; 
                          [$dirty] =&gt; 1
                          [$valid] =&gt; 1
                          [$invalid] =&gt; 
                          [$error] =&gt; Array
                              (
                              )
  
                          [$name] =&gt; fullName
                          [$options] =&gt; 
                      )
  
                  [email] =&gt; Array
                      (
                          [$viewValue] =&gt; test@onetwo.com
                          [$modelValue] =&gt; test@onetwo.com
                          [$validators] =&gt; Array
                              (
                              )
  
                          [$asyncValidators] =&gt; Array
                              (
                              )
  
                          [$parsers] =&gt; Array
                              (
                              )
  
                          [$formatters] =&gt; Array
                              (
                                  [0] =&gt; 
                              )
  
                          [$viewChangeListeners] =&gt; Array
                              (
                              )
  
                          [$untouched] =&gt; 
                          [$touched] =&gt; 1
                          [$pristine] =&gt; 
                          [$dirty] =&gt; 1
                          [$valid] =&gt; 1
                          [$invalid] =&gt; 
                          [$error] =&gt; Array
                              (
                              )
  
                          [$name] =&gt; email
                          [$options] =&gt; 
                      )
  
                  [message] =&gt; Array
                      (
                          [$viewValue] =&gt; testing testing
                          [$modelValue] =&gt; testing testing
                          [$validators] =&gt; Array
                              (
                              )
  
                          [$asyncValidators] =&gt; Array
                              (
                              )
  
                          [$parsers] =&gt; Array
                              (
                              )
  
                          [$formatters] =&gt; Array
                              (
                                  [0] =&gt; 
                              )
  
                          [$viewChangeListeners] =&gt; Array
                              (
                              )
  
                          [$untouched] =&gt; 
                          [$touched] =&gt; 1
                          [$pristine] =&gt; 
                          [$dirty] =&gt; 1
                          [$valid] =&gt; 1
                          [$invalid] =&gt; 
                          [$error] =&gt; Array
                              (
                              )
  
                          [$name] =&gt; message
                          [$options] =&gt; 
                      )
  
              )
              &lt;/pre&gt;
  </code></pre>
  
  <p>The PHP code which retrieves the object in the first place is as follows:</p>
  
  <pre><code>$data = json_decode(file_get_contents('php://input'), TRUE);
  $text = print_r($data,true);
  
  echo "&lt;pre&gt;";
  var_dump($text);
  echo "&lt;br /&gt;&lt;br /&gt;";
  print_r($text);
  echo "&lt;/pre&gt;";
  </code></pre>
  
  <p>How can I access the 'name', 'email' and 'message' strings please?</p>