title: php split half-width & full-width sentence
body: <p>I need to split my text into an array at every period, exclamation and question mark.</p>
  
  <p>Example with a full-width period and exclamation mark:</p>
  
  <pre><code>$string = "日本語を勉強しているみんなを応援したいです。一緒に頑張りましょう！";
  </code></pre>
  
  <p>I am looking for the following output:</p>
  
  <pre><code>Array ( 
      [0] =&gt; 日本語を勉強しているみんなを応援したいです。
      [1] =&gt; 一緒に頑張りましょう！ )
  </code></pre>
  
  <p>I need the same code to work with half-width.</p>
  
  <p>Example with a mix of full-width and half-width:
      $string = "Hi. I am Bob! Nice to meet you. 日本語を勉強しています。Do you understand me?";</p>
  
  <p>Output:</p>
  
  <pre><code>Array ( 
      [0] =&gt; Hi.
      [1] =&gt; I am Bob!
      [2] =&gt; Nice to meet you.
      [3] =&gt; 日本語を勉強しています。
      [4] =&gt; Do you understand me? )
  </code></pre>
  
  <p>I suck at regular expressions and can't figure out a solution nor find one.</p>
  
  <p>I tried: </p>
  
  <pre><code>$string = preg_split('(.*?[。？！])', $string);
  </code></pre>