Hello!
The PHP development team announces the immediate availability of PHP 5.6.14.
Two security-related issues in PHP were fixed in this release. All PHP
5.6 users
are encouraged to upgrade to this version.
For source downloads of PHP 5.6.14 please visit our downloads page:
http://www.php.net/do
Le 22/09/2015 03:59, Bob Weinand a écrit :
Hey,
or straight ahead to the vote:
https://wiki.php.net/rfc/short_closures#vote
Thanks,
Bob
Hi,
After discussing this with other people at AFUP, we would be (a large
majority of us) -1 on this RFC.
Basically, we feel that:
* This could lead t
On Thu, Oct 1, 2015 at 1:40 PM, Levi Morrison wrote:
> > Or we can figure out some other such symbol. Worse casing no white space,
> > brain storming:
>
> Please, I already asked people to stop making suggestions for shorter
> syntax for `use()`. Again, if use() is a pain then auto-importing the
On Tue, Sep 29, 2015 at 10:23 AM, Dan Ackroyd
wrote:
> Hello internals,
>
> I'd like to start a discussion of a proposal to allow closures to be
> created in user-land without having to use a whole lot of reflection
> code.
>
> https://wiki.php.net/rfc/closurefromcallable
>
> Thanks to Joe and Bo
On 10/01/2015 06:52 AM, Levi Morrison wrote:
On Wed, Sep 30, 2015 at 11:59 PM, Stephen Coakley
wrote:
On 09/26/2015 11: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 t
On 10/01/2015 06:52 AM, Levi Morrison wrote:
> On Wed, Sep 30, 2015 at 11:59 PM, Stephen Coakley
wrote:
>> On 09/26/2015 11:17 AM, Levi Morrison wrote:
>>>
>>> (Email in gist format:
>>> https://gist.github.com/morrisonlevi/fa7984c04ff176b5a87c)
>>>
>>> In EcmaScript 2015 (ES6) the expression `
On 30/09/2015 17:15, Scott Arciszewski wrote:
This is probably answerable by a quick yes/no and shouldn't need a ton
of bikeshedding, but if that happens anyway I apologize in advance.
I think random_bytes() and random_int() are great; they provide a
much-needed building block in PHP 7.0. Howeve
Hi Dan,
Dan Ackroyd wrote:
I'd like to start a discussion of a proposal to allow closures to be
created in user-land without having to use a whole lot of reflection
code.
https://wiki.php.net/rfc/closurefromcallable
Thanks to Joe and Bob for the assistance in the patch.
I've wanted something
Hi Yasuo,
Yasuo Ohgaki wrote:
https://bugs.php.net/bug.php?id=70549
It seems this is better to be fixed in near future.
Let "new" be associative? Currently, it's syntax error.
Was there discussion for this with
https://wiki.php.net/rfc/uniform_variable_syntax ?
I think that we should keep `
Hi Anthony,
> -Original Message-
> From: Anthony Ferrara [mailto:ircmax...@gmail.com]
> Sent: Thursday, October 1, 2015 6:34 PM
> To: a...@php.net
> Cc: PHP Internals
> Subject: Re: [PHP-DEV] PHP 7.0.0RC4 is available
>
> Congrats!!!
>
> Thank you so much for what you are doing! Keep up
Hi,
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Thursday, October 1, 2015 12:20 PM
> To: Matt Ficken
> Cc: Pierre Joye ; Anatoliy Belsky ;
> Laruence ; PHP Internals ;
> dmi...@php.net
> Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix
>
> On Thu, Oct 1,
Hi,
Given the recent discussion about async/await keyword should one
also consider short closures supporting asynchronous functionality
in the future?
Stumbled upon it when reading about Async Lambdas in Hacklang
manual.
Regards //Björn Larsson
Den 2015-09-26 kl. 18:17, skrev Levi Morrison:
(
Den 2015-10-01 kl. 19:12, skrev Bishop Bettini:
On Thu, Oct 1, 2015 at 12:28 PM, Anthony Ferrara
wrote:
Nikita and all,
I don't think there was a dozen of different ideas, I could only find
those
about `lambda(arg-list; use-list; expression)` and variations of it with
different keywords an
I think PHP should be consistent in using a given Unicode version in each
release.
Improvements in PHP 7.0, especially IntlChar, allows us to do properly
various things that required hackery with preg and mbstring in the past. But
both approaches will have to coexist for the foreseeable future. So
Levi Morrison wrote on 01/10/2015 19:09:
You are capped to saving about 5-7 characters no matter what you do
with this functionality.
I see an upper limit to savings of 21 - using "|" to stand in for "some
single character delimiting the sections" gives:
|$x|$y|$x*$y| // 13 chars
vs
functi
On Thu, Oct 1, 2015 at 11:57 AM, Rowan Collins wrote:
> Levi Morrison wrote on 01/10/2015 18:40:
>>>
>>> Or we can figure out some other such symbol. Worse casing no white space,
>>> brain storming:
>>
>> Please, I already asked people to stop making suggestions for shorter
>> syntax for `use()`.
Levi Morrison wrote on 01/10/2015 18:38:
Chain works is because the functions passed to it accept iterables as
their only parameter and return either an another iterable or a
reducing function (in this example sum is the reducer). This is why
the functions are returning closures that accept only
Levi Morrison wrote on 01/10/2015 18:40:
Or we can figure out some other such symbol. Worse casing no white space,
brain storming:
Please, I already asked people to stop making suggestions for shorter
syntax for `use()`.
I tried to move the discussion to whether or not auto-capturing
variable
> Or we can figure out some other such symbol. Worse casing no white space,
> brain storming:
Please, I already asked people to stop making suggestions for shorter
syntax for `use()`. Again, if use() is a pain then auto-importing the
used variables is a good solution. If it's not a pain why are yo
On Thu, Oct 1, 2015 at 10:47 AM, Rowan Collins wrote:
> Levi Morrison wrote on 01/10/2015 16:52:
>>
>> This is
>> close:https://github.com/morrisonlevi/Algorithm/blob/master/src/reduce.php
>
>
> When would you store or pass around the intermediate callback (the result of
> reduce($initial)) withou
Nikita Nefedov wrote on 01/10/2015 15:58:
On Thu, 01 Oct 2015 15:33:51 +0300, Rowan Collins
wrote:
It is a tool for making them shorter, yes, but it is not the only
way, and it comes with a cost of changing established behaviour.
Again, look at C++'s lambda syntax - it is much shorter than PHP
On Thu, Oct 1, 2015 at 12:28 PM, Anthony Ferrara
wrote:
> Nikita and all,
>
> > I don't think there was a dozen of different ideas, I could only find
> those
> > about `lambda(arg-list; use-list; expression)` and variations of it with
> > different keywords and different return-type syntax.
> > I
Levi Morrison wrote on 01/10/2015 16:52:
This is
close:https://github.com/morrisonlevi/Algorithm/blob/master/src/reduce.php
When would you store or pass around the intermediate callback (the
result of reduce($initial)) without immediately invoking it with a
callback? If you just run "reduce(
Congrats!!!
Thank you so much for what you are doing! Keep up the awesome work!
On Thu, Oct 1, 2015 at 9:02 AM, wrote:
> Hi,
>
> The fourth release candidate for 7.0.0 was just released and can be
> downloaded from:
>
> https://downloads.php.net/~ab/
>
> The Windows binaries are available a
Nikita and all,
On Thu, Oct 1, 2015 at 10:58 AM, Nikita Nefedov wrote:
> On Thu, 01 Oct 2015 15:33:51 +0300, Rowan Collins
> wrote:
>
>> That's not how Rasmus expressed it
>> [http://marc.info/?l=php-internals&m=144107616411299&w=2]:
>>
>> > I made a very deliberate decision In the very first i
>> And one thing that makes auto capture much better choice than explicit
>> capture (as it've been said a couple of times already) is partial
>> application:
>>
>> $mul = fn($x) => fn($y) => fn($z) => $x * $y * $z;
>>
>> Looks simpler than:
>>
>> $mul = fn($x) => fn($y; $x) => fn($z; $x, $
On Thu, Oct 1, 2015 at 8:58 AM, Nikita Nefedov wrote:
>
> I don't think there was a dozen of different ideas, I could only find
> those about `lambda(arg-list; use-list; expression)` and variations of it
> with different keywords and different return-type syntax.
> I do understand that this is qui
On Thu, 01 Oct 2015 15:33:51 +0300, Rowan Collins
wrote:
That's not how Rasmus expressed it
[http://marc.info/?l=php-internals&m=144107616411299&w=2]:
> I made a very deliberate decision In the very first implementation of
PHP to avoid scope side-effects like this. Inside a function eve
Hi,
The fourth release candidate for 7.0.0 was just released and can be
downloaded from:
https://downloads.php.net/~ab/
The Windows binaries are available at
http://windows.php.net/qa/
This release contains fixes for 22 reported bugs and over 100 commits with
various improvements.
Pl
Den 2015-10-01 kl. 11:47, skrev Pavel Kouřil:
How does hack solve this? Do they have backtracking in their parser?
It was discussed earlier & Bob answered it, a T_LAMDA_OP is inserted
by a token token-pre-parser before hitting the real parser, see:
Subject: Re: [PHP-DEV] [RFC] [Discussion] Shor
Nikita Nefedov wrote on 01/10/2015 12:07:
And yet we have super-globals. You can also access variables of one
script's global scope from another script's global scope without
importing or anything like that.
You are right, super-globals are an exception to the rule, because they
appear in all
On Wed, Sep 30, 2015 at 11:59 PM, Stephen Coakley
wrote:
> On 09/26/2015 11: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
On Thu, 01 Oct 2015 13:48:52 +0300, Rowan Collins
wrote:
Levi Morrison wrote on 01/10/2015 04:06:
I'm going to ask everyone to stop saying that auto-closing is bad
unless they also provide a demonstration of why it was bad.
Please see my e-mail from last night, or Rasmus's in the original
Levi Morrison wrote on 01/10/2015 04:06:
I'm going to ask everyone to stop saying that auto-closing is bad
unless they also provide a demonstration of why it was bad.
Please see my e-mail from last night, or Rasmus's in the original
thread. It is "bad" (or, controversial) because it is a funda
On Thu, Oct 1, 2015 at 11:54 AM, Matt Ficken
wrote:
>
>> And what wincache does. It is slower but the request is served.
>>
>>
>> WinCache (file cache) if it can't reattach, creates a new shared mem file
> for just that process: see
> http://svn.php.net/viewvc/pecl/wincache/trunk/wincache_filemap
>
> How does hack solve this? Do they have backtracking in their parser?
>
> It was discussed earlier & Bob answered it, a T_LAMDA_OP is inserted
> by a token token-pre-parser before hitting the real parser, see:
>
> Subject: Re: [PHP-DEV] [RFC] [Discussion] Short Closures
> Date: Sun, 6 Sep 2015 1
>
>
> And what wincache does. It is slower but the request is served.
>
>
> WinCache (file cache) if it can't reattach, creates a new shared mem file
for just that process: see
http://svn.php.net/viewvc/pecl/wincache/trunk/wincache_filemap.c?revision=336846&view=markup
Line 1122.
Yes, ideally it w
On Tue, Sep 29, 2015 at 11:55 PM, Levi Morrison wrote:
> Reading over the list I don't think people "are torn about" it. There
> are some detractors, sure, but there seem to be more detractors about
> symbol choice (~) and lack of type declarations.
Personally, I feel that without the auto impor
On 09/29/2015 01:04 PM, S.A.N wrote:
Implementing elegant, readable, and stable asynchronous code in userland PHP
code is very possible. In fact, I’ve done exactly this with Icicle
(https://github.com/icicleio/icicle). Icicle uses generators and promises to
implement coroutines. When a corouti
Den 2015-09-28 kl. 23:38, skrev 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
On 09/29/2015 10:22 AM, Thomas Hruska wrote:
On 9/29/2015 6:52 AM, Joe Watkins wrote:
We shouldn't reserve words on a whim ...
async/await doesn't solve any problems for multithreaded programming, at
all ... it solves problems for asynchronous programming, a different
concept ... let's not conf
41 matches
Mail list logo