5 ms·
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 hea
by Mahn 14y ago
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.
- prg318 14y agohttps://raw.github.com/php/php-src/php-5.5.0alpha6/NEWS https://raw.github.com/php/php-src/php-5.5.0alpha6/NEWS
- ecaron 14y agoThe 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
- mscarborough 14y agoIt 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/migration54.new-features.php http://www.php.net/manual/en/migration55.new-features.php http://www.php.net/manual/en/migration55.new-features.php