#phpwishlist not_null() not_string() not_callable() not_a() ... Yeah, I realize that `!` exists, but (a) fluent, and (b) can be called by name where a callable would be expected. Thoughts?
8
1
12
0
0
Related: `isset` should be a function, not a language construct. 🔥
@coderabbi I doubt that’s possible because you would not be able to reference the thing you need to pass it.
@coderabbi I agree, all the function-like language constructs should have an identically-named function that can be called from contexts where you can't use a language construct.
@coderabbi What about instanceof? I'd prefer that to be a functiion as well