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

Iterable processors with not exists field #28

Closed
kamarton opened this issue Oct 12, 2019 · 0 comments
Closed

Iterable processors with not exists field #28

kamarton opened this issue Oct 12, 2019 · 0 comments
Labels
Milestone

Comments

@kamarton
Copy link
Contributor

What steps will reproduce the problem?

If the field does not exist then an undefined index is generated, I assume this is incorrect.

What is the expected result?

  • In most cases: $item[$field] ?? null
    • =, <, <=, >, >=, in
  • With like I don't know what to do correct properly.
    • always fails?
$ php -r 'var_dump(stripos(null, ""));'
bool(false)
$ php -r 'var_dump(stripos(null, null));'
bool(false)
  • or null LIKE null is true

What do you get instead?

Undefined index: notExistsField

Q A
Version 1.0.0-under development
PHP version -
Operating system -
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