6 ms·
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 t
by ecaron 14y ago
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
- calinet6 14y agoWow, those are finally going away? It's almost like the end of an era. Cool.
- lonnyk 14y agoThey were removed in 5.4 [1] [1]http://www.php.net/manual/en/migration54.incompatible.php http://www.php.net/manual/en/migration54.incompatible.php
- Jeremy1026 14y agoI 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.
- nachteilig 14y agoThe 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.
- verisimilitude 14y agoIn the meantime, I really enjoy using Marco Arment's Bcrypt PHP class: https://gist.github.com/marcoarment/1053158 https://gist.github.com/marcoarment/1053158
- lotsofcows 14y agoBcrypt? It's all about scrypt these days. http://stackoverflow.com/questions/10149554/are-there-any-php-implementations-of-scrypt http://stackoverflow.com/questions/10149554/are-there-any-ph...
- jcoby 14y agoThere is a PHP 5.3.7+ implementation of the password API here: https://github.com/ircmaxell/password_compat https://github.com/ircmaxell/password_compat