title: I want to validate a sentence which consist of punctuation marks using php?
body: <p>I want to publish a quote text but need to validate input</p>
  <p>need to validate following things -</p>
  <ol>
  <li>no slashes</li>
  <li>no html tags</li>
  <li>no unicode</li>
  <li>only text, dot, inverted comma and comma.</li>
  </ol>
  <pre><code>$x = 'Life is what happens when you’re busy making other plans.';
  if (ctype_alnum(trim($x)) == true){
  echo 'true';
  }
  </code></pre>
  <p>this don't work. it don't validate if it includes dot, comma and inverted comma</p>