title: Can not access array with valid key in PHP 7.4
body: <p>When I try to see actual keys of array with:</p>
  <pre><code>dd(array_keys($this-&gt;credentials));
  </code></pre>
  <p>it shows me following:</p>
  <pre><code>Array (4) (
    [0] =&gt; String (7) &quot;*data&quot;
    [1] =&gt; String (14) &quot;*insensitive&quot;
    [2] =&gt; String (12) &quot;*lowerKeys&quot;
    [3] =&gt; String (16) &quot;*pathDelimiter&quot;
  )
  </code></pre>
  <p>But when I try to access the keys listed here like</p>
  <pre><code>dd($this-&gt;credentials['*data']);
  </code></pre>
  <p>or</p>
  <pre><code>dd($this-&gt;credentials['data']);
  </code></pre>
  <p>it returns <code>Null</code>.</p>
  <p>Any ideas? Thanks in advance)</p>
  <p>Edit:</p>
  <p>The issue was about converting object to array in my case. In old versions of PHP I have done it like</p>
  <pre><code>$this-&gt;credentials = (array) $this-&gt;config-&gt;smth-&gt;{$key};
  </code></pre>
  <p>Which is not working in 7.4 ($this-&gt;config returns object).
  I needed to change it to</p>
  <pre><code>$this-&gt;credentials = $this-&gt;config-&gt;smth-&gt;{$key}-&gt;toArray();
  </code></pre>
  <p>But still can anyone explain what exactly changed in new version.</p>