PHP Laravel Convert array value to upper case
<p>I have an array with multiples values in my Laravel project:</p>

<pre><code>array:1434 [▼
  0 =&gt; array:53 [▼
    "contact" =&gt; "ANA (dependienta)"
    "mail" =&gt; "example@mail.com"
    "phone2" =&gt; ""
    "phone3" =&gt; ""
    "web" =&gt; "0"
    "active" =&gt; true
    "province" =&gt; "Zaragoza"

  ]
  1 =&gt; array:53 [▼
    "contact" =&gt; "JACKELINE * VIVIANA"
    "mail" =&gt; "mail@example.com"
    "phone2" =&gt; ""
    "phone3" =&gt; ""
    "web" =&gt; "0"
    "active" =&gt; true
    "province" =&gt; "Barcelona"

  ]
</code></pre>

<p>I want transform to upper case only the province value, I want to get this result:</p>

<pre><code>array:1434 [▼
  0 =&gt; array:53 [▼
    "contact" =&gt; "ANA (dependienta)"
    "mail" =&gt; "example@mail.com"
    "phone2" =&gt; ""
    "phone3" =&gt; ""
    "web" =&gt; "0"
    "active" =&gt; true
    "province" =&gt; "ZARAGOZA"

  ]
  1 =&gt; array:53 [▼
    "contact" =&gt; "JACKELINE * VIVIANA"
    "mail" =&gt; "mail@example.com"
    "phone2" =&gt; ""
    "phone3" =&gt; ""
    "web" =&gt; "0"
    "active" =&gt; true
    "province" =&gt; "BARCELONA"

  ]
</code></pre>

<p>Exists any method or way to make this with Laravel Collection or other alternatives?</p>