title: how to tokenize the the following infix expression in php?
body: <p>infix expression : false and true or true and (false or false or not true)</p>
  
  <p>I want an array containing elements:</p>
  
  <p>false", "and", "true", "or", "true", "and", "(", "false", "or", "false", "or", "not", "true", ")</p>
  
  <p>I can not use space as the delimiter because the parentheses may not be separated from the next or proceeding true/false with space. </p>