On Mon, Jun 25, 2018 at 9:32 PM, Sara Golemon <poll...@php.net> wrote:
> > Defining a free-standing assert() function > > > Eww, yeah. I can see that problem. I'm not a huge fan of banning all > namespaced assert() function declarations, but it's certainly the most > direct "solution" to the problem. A very quick scan of github only > shows one effected usage in a repo with no followers/stars apart from > the owner. Given the lack of whole-program analysis, it's either ban > the declarations, or abandon elision. Frankly, the number of people > taking advantage of the free dev-only check is probably way higher > than the number trying to define a function called 'assert' so.... 😬 Or require a FQN for an imported `assert()`? Importing functions is getting traction. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/