title: How to check if the word is Japanese or English using PHP
body: <p>I want to have different process for English word and Japanese word in this function</p>
  
  <pre><code>function process_word($word) {
     if($word is english) {
       /////////
     }else if($word is japanese) {
        ////////
     }
  }
  </code></pre>
  
  <p>thank you</p>