Re: Fwd: [PHP-DEV] [RFC] [PHP 7.1] libsodium

2015-05-24 Thread Scott Arciszewski
I don't think that's a good idea. There are already production systems that call it like \Sodium::function_here(). I'm not an extension developer; I don't know what level of effort would even be required to refactor it from a class with static methods to a namespace with functions. And when you c

Re: Fwd: [PHP-DEV] [RFC] [PHP 7.1] libsodium

2015-05-21 Thread Michael Wallner
On 21/05/15 09:49, Peter Petermann wrote: > Hi Scott, > > I personally think the RFC is a bit short, > also I just had a very brief look at the documentation of the extension in > question, and find its API a bit strange, > whats up with having everything in static method calls? > > regards, > PP >

Fwd: [PHP-DEV] [RFC] [PHP 7.1] libsodium

2015-05-21 Thread Peter Petermann
Hi Scott, I personally think the RFC is a bit short, also I just had a very brief look at the documentation of the extension in question, and find its API a bit strange, whats up with having everything in static method calls? regards, PP 2015-05-21 3:15 GMT+02:00 Scott Arciszewski : > Hi Inter