title: how to map values of single array in PHP?
body: <p>I have an array e.g.     </p>
  
  <pre><code>array (
    city =&gt; Newyork,
    amount =&gt; 1000
  );
  </code></pre>
  
  <p>How can I get the output as follow?</p>
  
  <pre><code>Newyork =&gt; 1000
  </code></pre>