David Neilsen

Results 42 comments of David Neilsen

This would remove all events from all element, rather than just the one you are selecting.

What exactly are the inconsistencies?

So it will be ``` $matches = preg_match(...); if (!empty($matches)) { // use $matches } ``` Instead of ``` if (preg_match(..., $matches)) { // use $matches } ```

Also for `preg_match_all`, is it no longer going to return the count of matches, and now only the matches array?

is it supposed to be `in_array` or `array_in`, or even `array_contains`?

Is this even possible to alias? ```

That wont work though, because extract accesses the "current symbol table" which is not available to userland. Unless I'm missing something. Same goes for things like `list`, which is a...

Sure but excluding global scope, this still falls down... https://3v4l.org/ZjrBN

Likewise as per `extract` I don't think this is alias-able.