<?php
require("class.boolean_string.php");
//echo $sourcestring = '"chief officer" AND "PSV" OR "platform supply"';
echo $sourcestring = '"chief officer" AND "platform AND supply" OR "psv" not iam NOT "you" and ("find" or "set") not iii and "you" or "he" AND all NOT candy AND andy and xor AND "xxor"';
//echo $sourcestring = 'xor and nor';
echo '<br>';
$boolStrObj = new StrToBooleanStr($sourcestring);
echo $boolStrObj->convertStrToBoolean();
|