Re: [PHP-DEV] Thoughts on C version supported for PHP-Next

2015-05-07 Thread Christoph Becker
Nikita Popov wrote: > [...] What's our current minimum required vc version? As of PHP 5.5 at least VC11 (Visual Studio 2012) is required for Windows builds. The currently available snapshots of master are also built with VC11[1]. [1] -- Christoph M. Becker

Re: [PHP-DEV] Thoughts on C version supported for PHP-Next

2015-05-07 Thread Levi Morrison
On Thu, May 7, 2015 at 12:28 PM, Nikita Popov wrote: > On Mon, Jul 28, 2014 at 9:41 PM, Pierre Joye wrote: > >> >> On Jul 28, 2014 9:14 PM, "Dmitry Stogov" wrote: >> > >> > I think opinions about readability are subjective. >> > >> > The real problem, that it'll break compatibility with old unco

Re: [PHP-DEV] Thoughts on C version supported for PHP-Next

2015-05-07 Thread Nikita Popov
On Mon, Jul 28, 2014 at 9:41 PM, Pierre Joye wrote: > > On Jul 28, 2014 9:14 PM, "Dmitry Stogov" wrote: > > > > I think opinions about readability are subjective. > > > > The real problem, that it'll break compatibility with old uncommon > > compilers. > > I'm not sure if new MSVC versions suppo

Re: [PHP-DEV] password_hash() best practices

2015-05-07 Thread Anthony Ferrara
Leszek, On Thu, May 7, 2015 at 2:11 AM, Leszek Krupinski wrote: > On Wed, May 6, 2015 at 4:00 PM, Nikita Popov wrote: > >> It should be further noted that there is no standardized crypt() format for >> PBKDF2 and password_hash() is a crypt-compatible API. As such supporting >> PBKDF2 there would

Re: [PHP-DEV] password_hash() best practices

2015-05-07 Thread Rowan Collins
Leszek Krupinski wrote on 07/05/2015 07:11: On Wed, May 6, 2015 at 4:00 PM, Nikita Popov wrote: It should be further noted that there is no standardized crypt() format for PBKDF2 and password_hash() is a crypt-compatible API. As such supporting PBKDF2 there would be very problematic. That's t

Re: [PHP-DEV] Add support $object::class

2015-05-07 Thread S.A.N
> $object is not guaranteed to be an object, it could be anything (int, > string, etc) or nothing (null). using ::class for a variable, I'd argue, > makes for less consistency. What would the replacement be for non-object > variables? An error, exception, or false, or string type? At least in >

Re: [PHP-DEV] Add support $object::class

2015-05-07 Thread Marco Pivetta
On 7 May 2015 at 16:04, Ralph Schindler wrote: > > 2. Illogically - Bar::class valid syntax, $object::class invalid syntax. >>> >>> I'll grant you the consistency argument. I'm all for consistency, but >> that's the ONLY valid reason you've stated. >> > > Even then I think this part of the arg

Re: [PHP-DEV] Add support $object::class

2015-05-07 Thread Ralph Schindler
2. Illogically - Bar::class valid syntax, $object::class invalid syntax. I'll grant you the consistency argument. I'm all for consistency, but that's the ONLY valid reason you've stated. Even then I think this part of the argument is fairly weak. In Bar::class, the context of Bar is alway