Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Btw: this is from an open source project. Would be interesting to know if anyone can find out wich it's from.
(It has more than 500 stars on github and more than 200 forks. so it should be possible to find out)
C0D4590683ySo they are using an inline if to determine a database query to be a like or not.
Nothing new here other then the inline IF about to make me throw something at this code 😠
Dude, it's PHP what did you expect?