Re: [PHP-DEV] Voting irregularities

2015-03-18 Thread Levi Morrison
> Whatever you want to improve, please consider that the PHP wiki is > driven by DokuWiki which needs to get updated from time to time (lately > there have been two updates every year[1]; this is not accounting any > necessary updates to DokuWiki plugins). These updates seem to be > painful alread

Re: [PHP-DEV] Voting irregularities

2015-03-18 Thread Pierre Joye
On Thu, Mar 19, 2015 at 12:19 PM, Christoph Becker wrote: > Pierre Joye wrote: > >> However, as of today, you are the blocking point when it comes to >> improve the wiki RFCs, registration and voting areas.And this is >> really becoming a problem. I am not talking about irregularities and >> the l

Re: [PHP-DEV] Voting irregularities

2015-03-18 Thread Christoph Becker
Pierre Joye wrote: > However, as of today, you are the blocking point when it comes to > improve the wiki RFCs, registration and voting areas.And this is > really becoming a problem. I am not talking about irregularities and > the likes and I agree that it may not be fair to start bitching about >

Re: [PHP-DEV] Voting irregularities

2015-03-18 Thread Pierre Joye
On Mar 19, 2015 5:20 AM, "Hannes Magnusson" wrote: > > I have asked you before to stop harassing me, and stop spreading these > lies and defamation before. > Furthermore I have asked you to stop emailing all together. > > I have asked you very politely several times before. > > Please refrain for

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Sebastian B.-Hagensen
Hi, 2015-03-18 20:42 GMT+01:00 Lazare Inepologlou : > However, it seems that the second form is possible to fail, and that > depends on the mode (strict or not) of the library that contains the > function a. It does not depend on the mode that I have chosen to work with. > The two closures will no

Re: [PHP-DEV] Voting irregularities

2015-03-18 Thread Hannes Magnusson
I have asked you before to stop harassing me, and stop spreading these lies and defamation before. Furthermore I have asked you to stop emailing all together. I have asked you very politely several times before. Please refrain for talking about me or to me ever again. I will take legal actions if

[PHP-DEV] Re: Hello PHP-World

2015-03-18 Thread Christoph Becker
Pretzlaw wrote: > my name is Mike Pretzlaw, I am a (senior) developer, (junior) project > manager and work with PHP for a decade now. About time to contribute to > the PHP-Core and give something back to it. Unfortunately the > registration > (https://wiki.php.net/rfc/engine_exceptions_for_php7?do

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Lazare Inepologlou
2015-03-18 18:30 GMT+01:00 Chris Wright : > On 18 March 2015 at 17:07, Lazare Inepologlou wrote: > >> >> 2015-03-18 16:28 GMT+01:00 Chris Wright : >> >>> On 18 March 2015 at 13:12, Pavel Kouřil wrote: >>> >>> > On Wed, Mar 18, 2015 at 2:02 PM, Nikita Nefedov >>> > wrote: >>> > > On 18 Mar 2015

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Chris Wright
On 18 March 2015 at 17:07, Lazare Inepologlou wrote: > > 2015-03-18 16:28 GMT+01:00 Chris Wright : > >> On 18 March 2015 at 13:12, Pavel Kouřil wrote: >> >> > On Wed, Mar 18, 2015 at 2:02 PM, Nikita Nefedov >> > wrote: >> > > On 18 Mar 2015 15:52, "Pavel Kouřil" wrote: >> > >> >> > >> Hello, >

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Anatol Belski
On Wed, March 18, 2015 14:33, Pavel Kouřil wrote: > I've tried the build, and it seems like it's in the strict mode 100% > by default, and the "declare" statement doesn't recognize strict_types > ("PHP Warning: Unsupported declare 'strict_types'"). Is this > intentional? > No, that's probably me b

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Lazare Inepologlou
2015-03-18 16:28 GMT+01:00 Chris Wright : > On 18 March 2015 at 13:12, Pavel Kouřil wrote: > > > On Wed, Mar 18, 2015 at 2:02 PM, Nikita Nefedov > > wrote: > > > On 18 Mar 2015 15:52, "Pavel Kouřil" wrote: > > >> > > >> Hello, > > >> > > >> I made that conclusion because in the first example, t

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Benjamin Eberlei
On Wed, Mar 18, 2015 at 4:28 PM, Chris Wright wrote: > On 18 March 2015 at 13:12, Pavel Kouřil wrote: > > > On Wed, Mar 18, 2015 at 2:02 PM, Nikita Nefedov > > wrote: > > > On 18 Mar 2015 15:52, "Pavel Kouřil" wrote: > > >> > > >> Hello, > > >> > > >> I made that conclusion because in the firs

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Chris Wright
On 18 March 2015 at 13:12, Pavel Kouřil wrote: > On Wed, Mar 18, 2015 at 2:02 PM, Nikita Nefedov > wrote: > > On 18 Mar 2015 15:52, "Pavel Kouřil" wrote: > >> > >> Hello, > >> > >> I made that conclusion because in the first example, the library kinda > >> forces strict mode rules on the caller

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Christoph Becker
Pavel Kouřil wrote: > On Wed, Mar 18, 2015 at 1:47 PM, Anatol Belski wrote: >> >> for anyone needing to test on Windows, there was builds for an older RFC >> version >> >> http://windows.php.net/downloads/snaps/ostc/scalar_type_hints_2_strict_mode/ >> >> but I just made quick builds for the curre

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pavel Kouřil
On Wed, Mar 18, 2015 at 1:47 PM, Anatol Belski wrote: > Pavel, > > On Wed, March 18, 2015 11:05, Pavel Kouřil wrote: >> On Wed, Mar 18, 2015 at 11:01 AM, Pierre Joye >> wrote: >> >>> >>> On Mar 18, 2015 4:56 PM, "Pavel Kouřil" wrote: >>> On Mon, Mar 16, 2015 at 10:03 PM, Anthony Ferrar

Re: [PHP-DEV] RE: [PHP-CVS] com php-src: Enable GCC global register variables if available: Zend/Zend.m4 Zend/zend_execute.c

2015-03-18 Thread Dmitry Stogov
this is more then enough :) Thanks, I've committed your patch with additional limitation to GCC version. Thanks. Dmitry. On Wed, Mar 18, 2015 at 1:49 PM, Caio Souza Oliveira < caio.olive...@eldorado.org.br> wrote: > Hello Dmitry! Sorry for my lack of details on my build process and > environment

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pavel Kouřil
On Wed, Mar 18, 2015 at 2:02 PM, Nikita Nefedov wrote: > On 18 Mar 2015 15:52, "Pavel Kouřil" wrote: >> >> Hello, >> >> I made that conclusion because in the first example, the library kinda >> forces strict mode rules on the caller, even if he doesn't want to use >> strict mode - this makes the

Re: [PHP-DEV] RE: [PHP-CVS] com php-src: Enable GCC global register variables if available: Zend/Zend.m4 Zend/zend_execute.c

2015-03-18 Thread Dmitry Stogov
bench.php worked with 4.7.0 worked fine foe me, but I saw crash on "make pharcmd" and few tests related to assert(). Travis had similar crash on "make pharcmd" with 4.6.3. For now I limited usage of global register variables by 4.8.0 and above. Thanks. Dmitry. On Wed, Mar 18, 2015 at 1:16 PM, Al

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Nikita Nefedov
On 18 Mar 2015 15:52, "Pavel Kouřil" wrote: > > Hello, > > I made that conclusion because in the first example, the library kinda > forces strict mode rules on the caller, even if he doesn't want to use > strict mode - this makes the interoperability of the two modes > problematic. This is incorr

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pavel Kouřil
On Wed, Mar 18, 2015 at 1:47 PM, Anatol Belski wrote: > Pavel, > > On Wed, March 18, 2015 11:05, Pavel Kouřil wrote: >> On Wed, Mar 18, 2015 at 11:01 AM, Pierre Joye >> wrote: >> >>> >>> On Mar 18, 2015 4:56 PM, "Pavel Kouřil" wrote: >>> On Mon, Mar 16, 2015 at 10:03 PM, Anthony Ferrar

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pavel Kouřil
On Wed, Mar 18, 2015 at 1:13 PM, Nikita Nefedov wrote: > > On 18 Mar 2015 14:32, "Pavel Kouřil" wrote: >> >> On Wednesday, March 18, 2015, Patrick ALLAERT >> wrote: >> > Le mer. 18 mars 2015 à 10:56, Pavel Kouřil a écrit >> > : >> >> >> >> Hello, >> >> >> >> how will these examples work btw? >>

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Anatol Belski
Pavel, On Wed, March 18, 2015 11:05, Pavel Kouřil wrote: > On Wed, Mar 18, 2015 at 11:01 AM, Pierre Joye > wrote: > >> >> On Mar 18, 2015 4:56 PM, "Pavel Kouřil" wrote: >> >>> >>> On Mon, Mar 16, 2015 at 10:03 PM, Anthony Ferrara >>> >>> wrote: >>> All, Voting has been close

RE: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Thomas Punt
Hey Pavel, > how will these examples work btw? > > // a.php > declare(strict_types=1); > function foo($fn) { > $fn("1"); > }; > > // b.php > require 'a.php'; > foo(function (int $a) { return $a * 2; }); Result: catchable fatal error Reason: invocation context is in strict mode > // c.php > f

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Nikita Nefedov
On 18 Mar 2015 14:32, "Pavel Kouřil" wrote: > > On Wednesday, March 18, 2015, Patrick ALLAERT > wrote: > > Le mer. 18 mars 2015 à 10:56, Pavel Kouřil a écrit : > >> > >> Hello, > >> > >> how will these examples work btw? > >> > >> // a.php > >> >> declare(strict_types=1); > >> function foo($fn)

Re: [PHP-DEV] "strict_types" should be renamed "raise_type_error". WAS: About declare(strict_types = 1)

2015-03-18 Thread Pierre Joye
On Mar 18, 2015 6:42 PM, "Patrick ALLAERT" wrote: > > Le lun. 16 mars 2015 à 21:34, Matthew Leverton a > écrit : > > > (Although the irony of using =1 instead of =true isn't lost on me!) > > > > Yes, I mentioned[1] that funny aspect earlier. > > 0 or 1 is explicitly required in order to update th

Re: [PHP-DEV] "strict_types" should be renamed "raise_type_error". WAS: About declare(strict_types = 1)

2015-03-18 Thread Patrick ALLAERT
Le lun. 16 mars 2015 à 21:34, Matthew Leverton a écrit : > (Although the irony of using =1 instead of =true isn't lost on me!) > Yes, I mentioned[1] that funny aspect earlier. 0 or 1 is explicitly required in order to update the boolean behind it while true/false generates a fatal error with "s

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pavel Kouřil
On Wednesday, March 18, 2015, Patrick ALLAERT wrote: > Le mer. 18 mars 2015 à 10:56, Pavel Kouřil a écrit : >> >> Hello, >> >> how will these examples work btw? >> >> // a.php >> > declare(strict_types=1); >> function foo($fn) { >> $fn("1"); >> }; >> >> // b.php >> > require 'a.php'; >> foo(f

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Patrick ALLAERT
Le mer. 18 mars 2015 à 10:56, Pavel Kouřil a écrit : > Hello, > > how will these examples work btw? > > // a.php > declare(strict_types=1); > function foo($fn) { > $fn("1"); > }; > > // b.php > require 'a.php'; > foo(function (int $a) { return $a * 2; }); > > > > // c.php > function foo($f

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Florian Margaine
Hi, Le 18 mars 2015 11:06, "Pavel Kouřil" a écrit : > > On Wed, Mar 18, 2015 at 11:01 AM, Pierre Joye wrote: > > > > On Mar 18, 2015 4:56 PM, "Pavel Kouřil" wrote: > >> > >> On Mon, Mar 16, 2015 at 10:03 PM, Anthony Ferrara > >> wrote: > >> > All, > >> > > >> > Voting has been closed on the sc

Re: [PHP-DEV] RE: [PHP-CVS] com php-src: Enable GCC global register variables if available: Zend/Zend.m4 Zend/zend_execute.c

2015-03-18 Thread Albert Casademont
Hi Dmitry, I compiled it with gcc 4.7.2 and the bench.php performed well. Where did you find the errors? Albert On Wed, Mar 18, 2015 at 12:22 AM, Dmitry Stogov wrote: > Please also tell your GCC version. > We had problems with 4.6.3 and 4.7.0, so we disabled global variables for > GCC prior 4.

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pavel Kouřil
On Wed, Mar 18, 2015 at 11:01 AM, Pierre Joye wrote: > > On Mar 18, 2015 4:56 PM, "Pavel Kouřil" wrote: >> >> On Mon, Mar 16, 2015 at 10:03 PM, Anthony Ferrara >> wrote: >> > All, >> > >> > Voting has been closed on the scalar type declarations v0.5 RFC: >> > >> > https://wiki.php.net/rfc/scalar

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pierre Joye
On Mar 18, 2015 4:56 PM, "Pavel Kouřil" wrote: > > On Mon, Mar 16, 2015 at 10:03 PM, Anthony Ferrara wrote: > > All, > > > > Voting has been closed on the scalar type declarations v0.5 RFC: > > > > https://wiki.php.net/rfc/scalar_type_hints_v5 > > > > At a final score of 108:48, it has been accep

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Pavel Kouřil
On Mon, Mar 16, 2015 at 10:03 PM, Anthony Ferrara wrote: > All, > > Voting has been closed on the scalar type declarations v0.5 RFC: > > https://wiki.php.net/rfc/scalar_type_hints_v5 > > At a final score of 108:48, it has been accepted for PHP 7. > > Thank you. > > Anthony > > -- > PHP Internals -

RE: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Zeev Suraski
> FWIW, as someone who did play with the patch (both patches, of course), > I'm not sure why people are claiming you don't understand the RFC. Your > comments in the code are 100% accurate, which means you understood > exactly how it works. Josh Di Fabio just pointed out to me that the code in qu

RE: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Zeev Suraski
> -Original Message- > From: yohg...@gmail.com [mailto:yohg...@gmail.com] On Behalf Of Yasuo > Ohgaki > Sent: Wednesday, March 18, 2015 6:44 AM > To: Pierre Joye > Cc: PHP internals; Leigh; André Rømcke; Lester Caine > Subject: Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5 > >

RE: [PHP-DEV] Vote process change proposal

2015-03-18 Thread Pierre Joye
On Mar 18, 2015 4:01 PM, "Zeev Suraski" wrote: > > > -Original Message- > > From: Florian Anderiasch [mailto:m...@anderiasch.de] > > Sent: Wednesday, March 18, 2015 10:48 AM > > To: Stanislav Malyshev; Stelian Mocanita > > Cc: PHP Internals List > > Subject: Re: [PHP-DEV] Vote process chan

RE: [PHP-DEV] Vote process change proposal

2015-03-18 Thread Zeev Suraski
> -Original Message- > From: Florian Anderiasch [mailto:m...@anderiasch.de] > Sent: Wednesday, March 18, 2015 10:48 AM > To: Stanislav Malyshev; Stelian Mocanita > Cc: PHP Internals List > Subject: Re: [PHP-DEV] Vote process change proposal > > >> TL;DR: I'd prefer no one actively trying to

[PHP-DEV] Re: Bug #69127 session_regenerate_id(true) randomly generates a warning and loses session data

2015-03-18 Thread Yasuo Ohgaki
Hi all, On Sun, Mar 1, 2015 at 1:53 PM, Yasuo Ohgaki wrote: > https://bugs.php.net/bug.php?id=69127 > > This bug is known fatal bug for session module. I proposed "lazy_destroy" > to fix > this before, but it declined. > > I think the name was wrong. With the proposal, session module destories >

Re: [PHP-DEV] Vote process change proposal

2015-03-18 Thread Florian Anderiasch
On 03/18/2015 12:17 AM, Stanislav Malyshev wrote: > Hi! > >> people vote to appear/be active I don't see any way to avoid it - people >> with a strong opinion might still try to win over, others might just go >> this route if they think something really, really bad is happening - >> we'll never kn

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Lester Caine
On 17/03/15 23:53, André Rømcke wrote: >>> >> To help towards that end, can someone who understands what is wanted >>> >> from the weak type hint mode actually produce a summary of that as it is >>> >> very difficult to extract just what has now been agreed for that area of >>> >> type hinting. A b

Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread David Muir
> On 18 Mar 2015, at 3:44 pm, Yasuo Ohgaki wrote: > > Hi Pierre, > >> On Wed, Mar 18, 2015 at 1:35 PM, Pierre Joye wrote: >> >>> On Mar 18, 2015 11:26 AM, "Yasuo Ohgaki" wrote: >>> >>> I didn't have my time to spent for the patch. So I don't verify this >>> by myself, but it seems common s