Re: [PHP-DEV] Re: Only variables can be passed by reference

2014-12-05 Thread Rowan Collins
On 5 December 2014 01:07:03 GMT, Yasuo Ohgaki wrote: >Hi all, > >On Thu, Dec 4, 2014 at 5:28 PM, Yasuo Ohgaki >wrote: > >> I think we can get rid of this error now when literal is returned. >> The reason we have E_STRICT error is that legacy PHP didn't >> support this, I suppose. >> >> http://3v4

Re: [PHP-DEV] Re: Only variables can be passed by reference

2014-12-05 Thread Eugene
Hi Yasuo, On Thu, Dec 4, 2014 at 11:38 AM, Yasuo Ohgaki wrote: > Hi all, > > Sorry for multiple posts. This would be the last one. > > On Thu, Dec 4, 2014 at 7:08 PM, Yasuo Ohgaki wrote: > > > On Thu, Dec 4, 2014 at 5:28 PM, Yasuo Ohgaki wrote: > > > >> I think we can get rid of this error now

[PHP-DEV] Comparison chain

2014-12-05 Thread Дмитрий
Hi! I followed by https://wiki.php.net/rfc/howto and I would like to propose a concept "comparison chain" to implementing to future PHP versions. It would be very usable if PHP can do that in python-style. Thank for your attension!

[PHP-DEV] Comparison chain

2014-12-05 Thread Дмитрий
Hi! I followed by https://wiki.php.net/rfc/howto and I would like to propose a concept "comparison chain" to implementing to future PHP versions. It would be very usable if PHP can do that in python-style. Thank for your attension!

[PHP-DEV] Comparison chain

2014-12-05 Thread Дмитрий
Hi! I followed by https://wiki.php.net/rfc/howto and I would like to propose a concept "comparison chain" to implementing to future PHP versions. It would be very usable if PHP can do that in python-style. Thank for your attension!

Re: [PHP-DEV] Comparison chain

2014-12-05 Thread Andrea Faulds
> On 5 Dec 2014, at 14:36, Дмитрий wrote: > > Hi! > > I followed by https://wiki.php.net/rfc/howto and I would like to propose a > concept "comparison chain" to implementing to future PHP versions. > It would be very usable if PHP can do that in python-style. > > Thank for your attension! Ar

Re: [PHP-DEV] Two small const correctness changes

2014-12-05 Thread Levi Morrison
On Thu, Dec 4, 2014 at 9:11 PM, Xinchen Hui wrote: > Hey: > > On Fri, Dec 5, 2014 at 8:08 AM, Levi Morrison wrote: >> These changes make ZVAL_COPY and ZVAL_COPY_VALUE work without warning >> for places where the zval that is copied is const: >> https://gist.github.com/morrisonlevi/69156fdf93e6bc8

[PHP-DEV] libmcrypt: abandonware?

2014-12-05 Thread Scott Arciszewski
Hi PHP Internals, I've been trying to get in contact with the maintainers of libmcrypt, but every response I've gotten was, "Oh, I haven't been a part of that for years." http://sourceforge.net/projects/mcrypt/files/Libmcrypt/ The last update to libmcrypt was in 2007. There are bug fixes in thei

Re: [PHP-DEV] Zend language parser improvements

2014-12-05 Thread guilhermebla...@gmail.com
Hi guys, I'd really appreciate some review around the before-mentioned PRs. I have added a new one to the list now: - https://github.com/php/php-src/pull/937 This PR addresses the parsing support for traits to have "extends" and "implements", as they are invalid. There's another one in the oven

[PHP-DEV] Question about range comparison

2014-12-05 Thread Gustavo Frederico Temple Pedrosa
Hi internals, I want to compare the range between two commits of the PHP GitHub. I did the git checkout like this one [1] The problem is that I cannot compare, because in the timeline of commits, it only appears the commits sent by the users, and not the commits that were merged in the branch

Re: [PHP-DEV] Comparison chain

2014-12-05 Thread Rowan Collins
Andrea Faulds wrote on 05/12/2014 14:47: On 5 Dec 2014, at 14:36, Дмитрий wrote: Hi! I followed by https://wiki.php.net/rfc/howto and I would like to propose a concept "comparison chain" to implementing to future PHP versions. It would be very usable if PHP can do that in python-style. Thank

Re: [PHP-DEV] Comparison chain

2014-12-05 Thread Nikita Popov
On Fri, Dec 5, 2014 at 3:47 PM, Andrea Faulds wrote: > > > On 5 Dec 2014, at 14:36, Дмитрий wrote: > > > > Hi! > > > > I followed by https://wiki.php.net/rfc/howto and I would like to > propose a concept "comparison chain" to implementing to future PHP versions. > > It would be very usable if PH

Re: [PHP-DEV] Zend Engine 3

2014-12-05 Thread Andrea Faulds
> On 24 Nov 2014, at 00:10, Andrea Faulds wrote: > > Good evening, > > Since phpng, int64, and perhaps other future changes in PHP 7 are a pretty > big change, I think we ought to bump the major version number of the Zend > Engine, from Zend Engine 2 to Zend Engine 3. > > I have a pull reque

Re: [PHP-DEV] Re: Only variables can be passed by reference

2014-12-05 Thread Yasuo Ohgaki
Hi Rowan, On Fri, Dec 5, 2014 at 6:12 PM, Rowan Collins wrote: > The author of function f1() presumably designed it to apply some change to > $v, rather than executing only for its side effects and return value. If > the caller wants to ignore this design, they can, but they are not using > the