private _isMathOperator ( $token ) : boolean | ||
Résultat | boolean | TRUE if the token is a mathematical operator, FALSE otherwise. |
private function _isMathOperator($token)
{
return in_array($token['value'], array("+", "-", "/", "*"));
}