-
Notifications
You must be signed in to change notification settings - Fork 0
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
allowing real display_name select queries to be performed #47
Conversation
There are no legitimate cases where the value should be |
nope, it will either return a large query string or null |
allowing real display_name select queries to be performed
$value = static::comboKeyValue($key, $value, $config); | ||
if($value == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!$value) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ($value === null) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (is_null($value)) {
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_null($value)
is much slower than $value === null
if you do it a billion times. Maybe we can add it to a loop to do it a billion times to justify $value === null
over is_null()
? :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. We should probably write this portion as a php plugin in C 😏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I've never done one of those. Might be interesting to dive into the ugly flamewar-ridden underbelly of PHP.
...what am I saying?!
No description provided.