title: export array key and value as variable name and value
body: <p>considering this array : </p>
  
  <pre><code>$segments = array(
      "key1"    =&gt;"111",
      "key2"    =&gt;"222",
      "key3"    =&gt;"333",
      "key4"    =&gt;"444"
  );
  </code></pre>
  
  <p>I want to have these:</p>
  
  <p><code>$key1</code> has the value of  <code>"111";</code></p>
  
  <p><code>$key2</code> has the value of  <code>"222";</code></p>
  
  <p><code>$key3</code> has the value of  <code>"333";</code></p>
  
  <p><code>$key4</code> has the value of  <code>"444";</code></p>
  
  <p>What can I do ?</p>