Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread Kalle Sommer Nielsen
Hi 2015-09-29 7:30 GMT+02:00 Pierre Joye : > This model totally failed for us in the past. And given that these keywords > will be used for anything related to async APIs, let reserve them and put > our users on the safe side already. While I understand the concern, I don't think we should just

Re: [PHP-DEV] Arrow function expressions in PHP

2015-09-28 Thread Pavel Kouřil
On Tue, Sep 29, 2015 at 12:52 AM, Levi Morrison wrote: > > I do not think it is feasible to make the parser do backtracking or > anything of that sort. How do others feel? > >> PS: the [fn($x) => $x * 2] seems ambigous, from reader's POV; key of >> the item is result of fn($x) and value is $x * 2?

Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread Pierre Joye
On Sep 28, 2015 11:53 PM, "Levi Morrison" wrote: > > On Mon, Sep 28, 2015 at 9:17 AM, Thomas Hruska wrote: > > On 9/28/2015 1:29 AM, S.A.N wrote: > >> > >> Are there any future plans for - async/await? > >> This need to know now, not to use these words to constants, and class > >> names... > > >

[PHP-DEV] Re: Windows OpCache bug fix

2015-09-28 Thread Matt Ficken
Great. The locking issue is fixed. But, it sometimes still fails to reattach to the base address. Because of ASLR, extra DLLs, etc... the existing base address may not be usable in other processes that need to reattach. When I see this issue I'm creating a series of processes (for test runs) and w

Re: [PHP-DEV] Arrow function expressions in PHP

2015-09-28 Thread Levi Morrison
On Mon, Sep 28, 2015 at 3:38 PM, Pavel Kouřil wrote: > On Sat, Sep 26, 2015 at 6:17 PM, Levi Morrison wrote: >> (Email in gist format: >> https://gist.github.com/morrisonlevi/fa7984c04ff176b5a87c) >> >> In EcmaScript 2015 (ES6) the expression `(x) => x * 2` means to create >> an anonymous functio

Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread Aaron Piotrowski
Hello, > On Sep 28, 2015, at 3:29 AM, S.A.N wrote: > > Are there any future plans for - async/await? > This need to know now, not to use these words to constants, and class names... > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP-DEV] Arrow function expressions in PHP

2015-09-28 Thread Pavel Kouřil
On Sat, Sep 26, 2015 at 6:17 PM, Levi Morrison wrote: > (Email in gist format: > https://gist.github.com/morrisonlevi/fa7984c04ff176b5a87c) > > In EcmaScript 2015 (ES6) the expression `(x) => x * 2` means to create > an anonymous function with one parameter `x` that will return `x * 2`. > For exam

Re: [PHP-DEV] [RFC] [VOTE] Short Closures

2015-09-28 Thread Björn Larsson
Den 2015-09-26 kl. 09:18, skrev Pavel Kouřil: On Tue, Sep 22, 2015 at 3:59 AM, Bob Weinand wrote: Hey, Thanks for all your feedback in the discussion thread! So, before I start the vote, just two quick notes: I've added two notes about the statement syntax and the single variable use. Though

[PHP-DEV] Re: Arrow function expressions in PHP

2015-09-28 Thread Levi Morrison
On Sat, Sep 26, 2015 at 10:17 AM, Levi Morrison wrote: > (Email in gist format: > https://gist.github.com/morrisonlevi/fa7984c04ff176b5a87c) > > In EcmaScript 2015 (ES6) the expression `(x) => x * 2` means to create > an anonymous function with one parameter `x` that will return `x * 2`. > For exa

Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread Björn Larsson
Den 2015-09-28 kl. 18:53, skrev Levi Morrison: On Mon, Sep 28, 2015 at 9:17 AM, Thomas Hruska wrote: On 9/28/2015 1:29 AM, S.A.N wrote: Are there any future plans for - async/await? This need to know now, not to use these words to constants, and class names... async/await is the single great

Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread Levi Morrison
On Mon, Sep 28, 2015 at 9:17 AM, Thomas Hruska wrote: > On 9/28/2015 1:29 AM, S.A.N wrote: >> >> Are there any future plans for - async/await? >> This need to know now, not to use these words to constants, and class >> names... > > > async/await is the single greatest addition to modern applicatio

Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread Thomas Hruska
On 9/28/2015 1:29 AM, S.A.N wrote: Are there any future plans for - async/await? This need to know now, not to use these words to constants, and class names... async/await is the single greatest addition to modern application development in the last 20 years. Every language needs these featur

[PHP-DEV] Benchmark Results for PHP Master 2015-09-28

2015-09-28 Thread lp_benchmark_robot
Results for project php-src-nightly, build date 2015-09-28 05:13:35+03:00 commit: 250938e2d35fc54161a18167b7901c5e3b574371 revision_date: 2015-09-27 15:48:42+02:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] [RFC] [VOTE] Short Closures

2015-09-28 Thread Arne Blankerts
Hi, On Sa, 2015-09-26 at 10:10 +0200, Pavel Kouřil wrote: > On Sat, Sep 26, 2015 at 9:57 AM, Stanislav Malyshev > wrote: > > Hi! > > > >> The biggest issues seem to be > >> - ~> operator instead of ==> > >> - missing type hints > >> - auto imports > > > > > Seems you are right it's not clear aft

[PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread S.A.N
Are there any future plans for - async/await? This need to know now, not to use these words to constants, and class names... -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [RFC] [DISCUSSION] More precise float value

2015-09-28 Thread Yasuo Ohgaki
Hi all and Ferenc, On Mon, Sep 28, 2015 at 4:51 AM, Anatol Belski wrote: >> -Original Message- >> From: jakub@gmail.com [mailto:jakub@gmail.com] On Behalf Of Jakub >> Zelenka >> > Exactly, so my question was - why it still needs to do "if (mode == 0) >> > ndigit = 17;" in snprintf