Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logical operators #18

Open
hamzaze opened this issue Apr 26, 2019 · 1 comment
Open

Logical operators #18

hamzaze opened this issue Apr 26, 2019 · 1 comment
Assignees
Labels

Comments

@hamzaze
Copy link

hamzaze commented Apr 26, 2019

( 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.

@chriskonnertz
Copy link
Owner

chriskonnertz commented Apr 29, 2019

Hello,

that's true, they are not built-in.

Should be possible to add them without any problems though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants