Re: [RFC] Deprecations for PHP 7.3

From: Date: Tue, 26 Jun 2018 11:27:42 +0000
Subject: Re: [RFC] Deprecations for PHP 7.3
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-102452@lists.php.net to get a copy of this message
On Mon, Jun 25, 2018 at 9:32 PM, Sara Golemon <pollita@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/

« previous php.internals (#102452) next »