Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

McGlockenshire.com:
Waiting for PHP 5.4: Death to prehistoric cruft
Aug 01, 2011 @ 15:20:04

On McGlockenshire.com there's a recent post looking at some of the features of the upcoming PHP 5.4 release and how they'll be glad to get rid of the "prehistoric cruft" that's accumulated around the language over the years.

It’s incredibly rare for the Internals crew to ever consider breaking backwards compatibility, but some of the most important changes in PHP 5.4 do just that by removing old "features." None of these changes should impact modern PHP code. If somehow you get bitten by any of these changes, chances are that your code dates from the PHP 4 era.

Included in his list of updates/removals/improvements are things like the full removal of safe_mode, dropping register_globals, pulling out call time pass by reference and the removal of the session registration methods.

tagged: update language feature modern feature backwardscompatibility

Link:


Trending Topics: