Re: [PHP-DEV][RFC] Cast in foreach

2019-02-21 Thread Legale.legale
what about: foreach($array as $i=>$v) {} ?On Feb 21, 2019 13:15, Chris Riley wrote: > > Hi internals, > > I'd like to propose opening an rfc to make the following syntax legal: > > foreach($array as (int) $i) {} > > Which would be functionally equivalent to > > foreach($array as $i) { >

Re: [PHP-DEV] Re: phpenmod/phpdismod

2019-02-18 Thread Legale.legale
I have made super simple OS independent phpenmod. Https://github.com/legale/phpenmod On Feb 18, 2019 23:31, Gabriel Ostrolucky wrote: > > I'm fan of this idea. I miss this in any other non-debian distro. > What nobody mentioned yet, similar script (dockerphp-ext-enable) > is used in PHP

Re: [PHP-DEV] Make bcmath functions more strict

2019-02-12 Thread Legale.legale
Hello Vlad, internals. If you'll make an RFC someone will certainly vote :-) Meanwhile till php bureaucracy hasn't put quorum rule in the voting process you have a chance to push it through. Good luck.

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-05 Thread Legale.legale
On Feb 4, 2019 07:24, Remi Collet wrote: > > Hi, > > Le 02/02/2019 à 20:24, Legale Legage a écrit : > > These scripts are included to the standard deb/rpm packages > > No, this is a deb only stuff > > RPM installed = extension enabled. > My misstake. > > Remi > > > P.S. I have never

Re: [PHP-DEV] RFC: RFC Workflow & Voting (2019 update)

2019-02-05 Thread Legale.legale
This is truly developer way. :-) On Feb 5, 2019 01:10, "Christoph M. Becker" wrote: > > On 04.02.2019 at 23:59, Kalle Sommer Nielsen wrote: > > > Den søn. 3. feb. 2019 kl. 19.29 skrev Larry Garfield > > : > > > >> To answer both you and Sanislav here together, as he raised a similar > >>

Re: [PHP-DEV] phpenmod/phpdismod

2019-02-02 Thread Legale.legale
For example: phpenmod mysqli will try to find an extension and if it exists, script will create related ini file in the conf.d directory. phpdismod mysqli will remove ini file from the conf.d dir. It makes a world a bit more comfortable for me. :-)On Feb 2, 2019 21:39, Stanislav Malyshev

Re: [PHP-DEV] Re: AppVeyor timeouts -- Migrate to Azure Pipelines?

2019-02-02 Thread Legale.legale
Insofar as conversation started what do you think about CI service that supports big endian platform?On Feb 2, 2019 15:09, "Christoph M. Becker" wrote: > > On 02.02.2019 at 14:31, Nikita Popov wrote: > > > On Sat, Feb 2, 2019 at 2:06 PM Christoph M. Becker > > wrote: > > > >> On 02.02.2019

Re: [PHP-DEV] Simplify license headers

2019-01-27 Thread Legale.legale
I think author's name on each file is good practice. Once i used this information. IMHO the shortest header is the nicest one.On Jan 27, 2019 20:38, Nikita Popov wrote: > > Hi internals, > > Some of our source files currently contain a license header similar to this: > > /* >

Re: [PHP-DEV] Proposal: change precision for output functions

2019-01-07 Thread Legale.legale
What proposal? I'm talking about elementary arithmetic. Take a look here: Https://jdoodle.com/embed/v0/Tgu On Jan 7, 2019 10:32 PM, Semen Dubina wrote: > > > > 07.01.2019, 22:17, "Legale.legale" : > > I think your solution by changing precision is not good enough

Re: [PHP-DEV] Proposal: change precision for output functions

2019-01-07 Thread Legale.legale
I think your solution by changing precision is not good enough because float summation is still not working properly. wrote: > > > 07.01.2019, 20:24, "Thomas Bley" : > > > > Hello, > > > > good point, having: > > > > echo ini_get('precision') . PHP_EOL; > > echo