News for hackers. Stuff that matters.
Re:PHP 5.5.0 Alpha 6 - Released by Mahn on Friday March 08, 2013 @09:08AM (#5343449)
Any noteworthy changes on 5.5 overall? I'm happy the language is moving forward with a seemingly faster traction than before (github effect?), but I haven't heard of any game changing feature getting implemented yet since quite a while. Still waiting for a object literals syntax myself.
Re:PHP 5.5.0 Alpha 6 - Released by ecaron on Friday March 08, 2013 @09:15AM (#5343492)
The new changes I'm looking forward to are the password hashing API, scalar type hints and generators.

I'm also looking forward to 3 things that AREN'T going to be there: register_global, safe mode, and magic_quotes

Re:PHP 5.5.0 Alpha 6 - Released by verisimilitude on Friday March 08, 2013 @09:43AM (#5343656)
In the meantime, I really enjoy using Marco Arment's Bcrypt PHP class: https://gist.github.com/marcoarment/1053158
Re:PHP 5.5.0 Alpha 6 - Released by lotsofcows on Friday March 08, 2013 @11:00AM (#5344085)
Bcrypt? It's all about scrypt these days. http://stackoverflow.com/questions/10149554/are-there-any-ph...
Re:PHP 5.5.0 Alpha 6 - Released by nachteilig on Friday March 08, 2013 @09:39AM (#5343633)
The password hashing stuff should be really nice in the long run--at least when it's widely used.

PHP in particular seems to have a lot of bad home brew implementations out there, so it'll be nice to have a better default.

Re:PHP 5.5.0 Alpha 6 - Released by calinet6 on Friday March 08, 2013 @09:17AM (#5343510)
Wow, those are finally going away? It's almost like the end of an era. Cool.
Re:PHP 5.5.0 Alpha 6 - Released by lonnyk on Friday March 08, 2013 @10:11AM (#5343801)
Re:PHP 5.5.0 Alpha 6 - Released by jcoby on Friday March 08, 2013 @09:45AM (#5343661)
There is a PHP 5.3.7+ implementation of the password API here: https://github.com/ircmaxell/password_compat
Re:PHP 5.5.0 Alpha 6 - Released by Jeremy1026 on Friday March 08, 2013 @09:33AM (#5343600)
I too am looking forward to the new Password Hashing API. Having quick ability to hash and verify a password should save a fair bit of time in the long run.
Re:PHP 5.5.0 Alpha 6 - Released by mscarborough on Friday March 08, 2013 @09:56AM (#5343731)
It seems to continue the PHP 5.4 vein in that it adds some syntactic shortcuts and some niceties that make it a bit easier / cleaner to read and write.

Personally I'm pretty happy with traits and array dereferencing against function returns. The new array literal syntax is nicer and more like other languages, in that you don't have to wrap everything with array(), instead just use the [] syntax.

Feature-wise 5.4 added traits and 5.5 has generators.

http://www.php.net/manual/en/migration54.new-features.php

http://www.php.net/manual/en/migration55.new-features.php

Re:PHP 5.5.0 Alpha 6 - Released by prg318 on Friday March 08, 2013 @09:09AM (#5343455)