Re: [PHP-DEV] Session improvements

2016-03-31 Thread Yasuo Ohgaki
Hi Pieter, On Tue, Mar 29, 2016 at 11:04 PM, Pieter Hordijk wrote: > I have been thinking about / working on a couple of session improvements. > > This work started once I had the time to fully read the "Precise session data > management" RFC. > I was thinking about

RE: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Zeev Suraski
> -Original Message- > From: Dmitry Stogov [mailto:dmi...@zend.com] > Sent: Thursday, March 31, 2016 11:59 AM > To: Joe Watkins ; Björn Larsson > > Cc: Phil Sturgeon ; Krakjo ; PHP > internals

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Dmitry Stogov
On 03/31/2016 11:34 AM, Joe Watkins wrote: Morning, > Given that public is implied for all properties above there > is a value in having the same rule for type. public $bar, int $foo; What does this mean? If it's not an error, what does this mean ? This should be a error. I also think,

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Joe Watkins
Morning, > Given that public is implied for all properties above there > is a value in having the same rule for type. public $bar, int $foo; What does this mean? If it's not an error, what does this mean ? public $bar, int $foo, $qux; If it's an error, why is it an error ? Both of these

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Rowan Collins
Hi Joe, Just my €0.02 Joe Watkins wrote on 31/03/2016 09:34: public $bar, int $foo; What does this mean? If it's not an error, what does this mean ? To me, that should be an error; why would you want to group typed and untyped properties on one line? public $bar, int $foo, $qux; If

Re: [PHP-DEV] Copy On Write and Assign By Reference perform different on PHP5 and PHP7

2016-03-31 Thread Rowan Collins
On 31/03/2016 18:23, Rowan Collins wrote: Maybe in PHP 5 the opcodes are the same, but $2 and $3 somehow end up as references to !0, rather than new zvals So, it turns out, this is exactly what happens. Specifically, there is a call to SEPARATE_ZVAL_IF_NOT_REF(var_ptr); in the definition of

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Larry Garfield
On 3/31/16 8:01 AM, Zeev Suraski wrote: -Original Message- From: Joe Watkins [mailto:pthre...@pthreads.org] Sent: Thursday, March 31, 2016 3:41 PM To: Dmitry Stogov Cc: Björn Larsson ; Phil Sturgeon ; Krakjo

Re: [PHP-DEV] Copy On Write and Assign By Reference perform different on PHP5 and PHP7

2016-03-31 Thread Rowan Collins
Huqiu Liao wrote on 31/03/2016 17:47: Hi, internals, I have a question about Assign By Reference and I posted on StackOverflow, I'd like to know the reason behind it, and I did not get any this kind of answer, can anyone give me some clues. --- We have a piece of simple code: 1 To me,

[PHP-DEV] PHP 5.5.34 is available

2016-03-31 Thread Julien Pauli
Hi, The PHP development team announces the immediate availability of PHP 5.5.34. This is a security release. Several security bugs were fixed in this release. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.34 please visit our downloads page:

[PHP-DEV] Copy On Write and Assign By Reference perform different on PHP5 and PHP7

2016-03-31 Thread Huqiu Liao
Hi, internals, I have a question about Assign By Reference and I posted on StackOverflow, I'd like to know the reason behind it, and I did not get any this kind of answer, can anyone give me some clues. --- We have a piece of simple code: 1

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread guilhermebla...@gmail.com
To me it's simply as that: class_statement: variable_modifiers optional_type property_list ';' { $$ = $2; $$->attr = $1 } | ... property_list: property_list ',' property { $$ = zend_ast_list_add($1, $3); } | property { $$ = zend_ast_create_list(1, ZEND_AST_PROP_DECL,

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Zeev Suraski
> On 31 במרץ 2016, at 20:48, "guilhermebla...@gmail.com" > wrote: > > To me it's simply as that: > > > class_statement: >variable_modifiers optional_type property_list ';' { $$ = $2; > $$->attr = $1 } >| ... > > property_list: >property_list

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread guilhermebla...@gmail.com
My code version is not complete, as the references changed when you include the optional_type. It shouldn't be hard to change though... like $$ = $3 and also hold $2 somewhere. On Thu, Mar 31, 2016 at 2:09 PM, Zeev Suraski wrote: > > > On 31 במרץ 2016, at 20:48,

[PHP-DEV] [VOTE] IntlTimeZone::getWindowsID() and getIDForWindowsID()

2016-03-31 Thread Sara Golemon
Opening vote on https://wiki.php.net/rfc/intl.timezone.get-windows-id#vote at 2016-04-01 01:37 UTC. Vote will close in two weeks: 2016-04-15 23:59 UTC -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Copy On Write and Assign By Reference perform different on PHP5 and PHP7

2016-03-31 Thread Sara Golemon
On Thu, Mar 31, 2016 at 9:47 AM, Huqiu Liao wrote: > I have a question about Assign By Reference and I posted on StackOverflow, > I'd like to know the reason behind it, and I did not get any this kind of > answer, can anyone give me some clues. > Are you asking out of

Re: [PHP-DEV] Copy On Write and Assign By Reference perform different on PHP5 and PHP7

2016-03-31 Thread Yasuo Ohgaki
Hi Huqui, On Fri, Apr 1, 2016 at 1:47 AM, Huqiu Liao wrote: > 4echo (++$i) + (++$i); I brought up this topic before and the conclusion is This kind of operation result is undefined and user shouldn't write such expression. There are undefined behaviors for ++ and --.

[PHP-DEV] PHP 5.6.20 is available

2016-03-31 Thread Ferenc Kovacs
Hello! The PHP development team announces the immediate availability of PHP 5.6.20. Several security related issues were fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version. For source downloads of PHP 5.6.20 please visit our downloads page:

[PHP-DEV] PHP 7.0.5 is available

2016-03-31 Thread Anatol Belski
Hi, The PHP development team announces the immediate availability of PHP 7.0.5. This is a security release. Several security bugs were fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version. For source downloads of PHP 7.0.5 please visit our downloads page:

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Joe Watkins
Morning Dmitry, > This should be a error. I also think, that "public" might > be omitted, and it should be possible to write "int $bar, $foo" Omitting public might be nice, but also totally separate, you should be able to omit it for untyped properties too. > You say - C, C++, Java, HHVM, etc -

Re: [PHP-DEV] [VOTE] var deprecation

2016-03-31 Thread Colin O'Dell
The voting period for the "var deprecation" RFC has ended. The final vote was 31 in favor and 23 against. The 2/3 majority requirement was not met and therefore this RFC has been DECLINED. https://wiki.php.net/rfc/var_deprecation#vote I'd like to thank everyone who participated in the

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Dmitry Stogov
On 03/31/2016 03:40 PM, Joe Watkins wrote: Morning Dmitry, > This should be a error. I also think, that "public" might > be omitted, and it should be possible to write "int $bar, $foo" Omitting public might be nice, but also totally separate, you should be able to omit it for untyped

RE: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-31 Thread Zeev Suraski
> -Original Message- > From: Joe Watkins [mailto:pthre...@pthreads.org] > Sent: Thursday, March 31, 2016 3:41 PM > To: Dmitry Stogov > Cc: Björn Larsson ; Phil Sturgeon > ; Krakjo ; PHP internals >

[PHP-DEV] NEUTRAL Benchmark Results for PHP Master 2016-03-31

2016-03-31 Thread lp_benchmark_robot
Results for project PHP master, build date 2016-03-31 13:02:16+03:00 commit: 44c219b previous commit:1e82ad8 revision date: 2016-03-31 01:38:38+02:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB