[PHP-DEV] Re: What to do with bundled GD's version info?

2018-02-04 Thread Andrea Faulds
Hi Christoph, Christoph M. Becker wrote: So the question is how to handle the version information of the bundled libgd for the time being. With regard to gd_info()['GD Version'] just saying "bundled" (without any compatibility statement) might be a good solution. However, I'm at a loss how to

Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope

2018-02-04 Thread Levi Morrison
On Sun, Feb 4, 2018 at 2:56 PM, Stanislav Malyshev wrote: > Hi! > >> To get the same benefits (jit and such) wouldn't it be better to introduce >> a "use function root;" or similar statement or a declare() to specify this >> file imports all root functions? > > We already have this right now, and

Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope

2018-02-04 Thread Stanislav Malyshev
Hi! > To get the same benefits (jit and such) wouldn't it be better to introduce > a "use function root;" or similar statement or a declare() to specify this > file imports all root functions? We already have this right now, and realistically speaking, who wouldn't do that in their code instead o

Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope

2018-02-04 Thread Benjamin Eberlei
On Sat, Feb 3, 2018 at 9:27 AM, Wes wrote: > Hello PHPeople. I just published the RFC "Deprecation of fallback to root > scope". > > It is quite a substantial change, but as you can read in the RFC, can be a > (basically) transparent one. > I'm referring to the possibility to shim it in userland.

Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope

2018-02-04 Thread Rowan Collins
On 3 February 2018 08:27:18 GMT+00:00, Wes wrote: >Hello PHPeople. I just published the RFC "Deprecation of fallback to >root >scope". > >It is quite a substantial change, but as you can read in the RFC, can >be a >(basically) transparent one. >I'm referring to the possibility to shim it in userla

Re: [PHP-DEV] Potential adoption of run-tests.php replacement

2018-02-04 Thread Stanislav Malyshev
Hi! > There is a project I've created a long time ago and still maintaining > (https://github.com/nazar-pc/phpt-tests-runner) that should be able to run > most of the tests without changes already with colored output and the whole > thing is a fraction of run-tests.php's size. Some notes: - I

Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope

2018-02-04 Thread Stanislav Malyshev
Hi! > I hope you like it. Let me know what you think. > > https://wiki.php.net/rfc/fallback-to-root-scope-deprecation I do not see how this makes sense. This RFC claims there's no BC breakage, while it deprecates one of the most widely used functions of the language (using unqualified global fun

Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope

2018-02-04 Thread Wes
I just want to add: vote is not very obvious - non internals people are getting too excited about this :P Please consider: People that don't have an IDE that handles the imports automatically, will be effectively forced to prefix \ to everything, which is really ugly. But again, prefixing \ is no