Answers for "php strtolower array"

PHP
4

strtolower php

strtolower ( string $string ) : string 
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
$string = 'HeLlO WoRlD';
echo strtolower($string); //Output: 'hello world'
Posted by: Guest on April-09-2020
0

lowercase in array php

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

Browse Popular Code Answers by Language