Answers for "how to convert lowercase to uppercase in array php"

PHP
1

php string to uppercase

<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtoupper($str);
echo $str; // show: MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
Posted by: Guest on February-09-2021
-1

lowercase in array php

array_walk($yourArray, function(&$value)
{
  $value = strtolower($value);
});
Posted by: Guest on August-17-2021

Code answers related to "how to convert lowercase to uppercase in array php"

Browse Popular Code Answers by Language