title: From Swift how to get multibles Arrays from PHP
body: <p>I have this in my PHP file:</p>
  
  <pre><code>$test1 = array("id" =&gt; "1222","name" =&gt; "Sami");
  
  $test2 = array("id" =&gt; "555","name" =&gt; "Mark");
  
  $tt = array();
  
  array_push($tt, $test1, $test2);
  
  
  echo json_encode($tt);
  </code></pre>
  
  <p>Now I want to get this data from swift, I tried this:</p>
  
  <pre><code>var teamJSON: NSDictionary!
  teamJSON =  try JSONSerialization.jsonObject(with: data!, options: .mutableContainers) as? NSDictionary
  </code></pre>
  
  <p>But, it doesn't works! teamJSON = Nil , how to present this data , any help? </p>