코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>PHP DataType</title> </head> <body> <?php $str_01 = "PHP"; $str_02 = "자바스크립트"; echo strlen($str_01)."<br>"; // 3 echo strlen($str_02); // 18 ?> </body> </html>