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

2015-10-01 Thread Stephen Coakley
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

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

2015-10-01 Thread Stephen Coakley
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 `

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

2015-10-01 Thread Levi Morrison
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

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

2015-09-30 Thread Stephen Coakley
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 with one parameter `x` that will return `x * 2`. For example: (x) => x

[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

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

2015-09-26 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