PHP Laravel Konvertieren array-Wert zu groß

Ich habe ein array mit vielfachen Werte in meinem Laravel Projekt:

array:1434 [▼
  0 => array:53 [▼
    "contact" => "ANA (dependienta)"
    "mail" => "[email protected]"
    "phone2" => ""
    "phone3" => ""
    "web" => "0"
    "active" => true
    "province" => "Zaragoza"

  ]
  1 => array:53 [▼
    "contact" => "JACKELINE * VIVIANA"
    "mail" => "[email protected]"
    "phone2" => ""
    "phone3" => ""
    "web" => "0"
    "active" => true
    "province" => "Barcelona"

  ]

Will ich wandeln in Großbuchstaben, nur die Provinz Wert, ich will das Ergebnis:

array:1434 [▼
  0 => array:53 [▼
    "contact" => "ANA (dependienta)"
    "mail" => "[email protected]"
    "phone2" => ""
    "phone3" => ""
    "web" => "0"
    "active" => true
    "province" => "ZARAGOZA"

  ]
  1 => array:53 [▼
    "contact" => "JACKELINE * VIVIANA"
    "mail" => "[email protected]"
    "phone2" => ""
    "phone3" => ""
    "web" => "0"
    "active" => true
    "province" => "BARCELONA"

  ]

Existiert keine Methode oder Art und Weise machen, dies mit Laravel-Sammlung oder andere alternativen?

posten Sie Ihre php-code bitte
nicht haben, php-code, nur das Ergebnis meiner array
Down-voting für den Mangel an PHP-code.

InformationsquelleAutor Antonio Morales | 2016-12-13

Schreibe einen Kommentar