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 exam
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 creating small and specific RF
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, th
> -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
> Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties
>
>
>
> On 03/31/2016 11:34 AM,
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 it
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
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:
http://www.
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 -
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 discussio
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 propert
> -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
>
> Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties
>
> Morning Dmitry,
>
> > Th
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:
http://ww
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 ; PHP internals
Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties
Mor
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:
1http://php.net/manual/en/migration70.incompatible.p
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, th
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,
> 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 ',' property { $$ = zend_ast
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, "guilhermebla...@gmail.com" <
> g
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 th
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:
http://www.php.net/downl
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 --.
C/C++ has undefined be
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
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 curiosity? Or because you thi
23 matches
Mail list logo