개발자의 끄적끄적

[php] strtoupper 사용법 본문

개발/php

[php] strtoupper 사용법

효벨 2020. 2. 4. 01:00
728x90
반응형

[php] strtoupper 사용법

<?php
  $str = "Mary Had A Little Lamb and She LOVED It So";
  $str = strtoupper($str);
  echo $str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
?>

 

참고사이트 : https://www.php.net/manual/en/function.strtoupper.php

반응형
Comments