Is the order of keys returned from array_keys the same as the order in the input array?
<p>Given an associative array like the following,</p>

<pre><code>$field_defaults = array(
  'id' =&gt; 0,
  'name' =&gt; 'new item',
  'desc' =&gt; '',
  'parent_id' =&gt; 0,
);
</code></pre>

<p>can I rely on <code>array_keys()</code> returning the keys in the order they were specified? Or, more precisely, since arrays in PHP seem to have a stable order, as per <a href="http://stackoverflow.com/a/950995/2077">this answer</a>, are the keys returned by <code>array_keys()</code> in the same order as they appear in the input array? The <a href="http://www.php.net/manual/en/function.array-keys.php" rel="nofollow">manual page</a> doesn't give any hints.</p>

<p>When I try this, they <em>seem</em> to respect the original order, but I would like to be able to rely on that behaviour.</p>
