string-calc
string-calc copied to clipboard
Logical operators
( 293 == 561 || 293 == 562 || 293 == 563 || 293 == 564 ) ? 1.02 : 1
The result should be 1, but I'm getting the error instead. Uncaught ChrisKonnertz\StringCalc\Exceptions\NotFoundException: Error: Detected unknown or invalid character identifier. in /home/dev5printaj/vendor/chriskonnertz/string-calc/src/ChrisKonnertz/StringCalc/Support/UtilityTrait.php:26.
I suppose logical operators are not covered.
Hello,
that's true, they are not built-in.
Should be possible to add them without any problems though.