We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Suggestion to convert strpos to stripos if possible. Thanks!
The text was updated successfully, but these errors were encountered:
+1 for me.
Sorry, something went wrong.
We had the same issue - but simply extended the class - and made a macro.
``<?php
use Nahid\JsonQ\Jsonq;
class Json_Query extends Jsonq {
public function __construct($jsonFile = null) { parent::__construct($jsonFile); $this->macro('containsInsensitive', function($value, $comparable) { return (stripos($value, $comparable) !== false); }); }
}
No branches or pull requests
Suggestion to convert strpos to stripos if possible. Thanks!
The text was updated successfully, but these errors were encountered: