Sunday, March 12, 2006

What won’t be in PHP 6

It's a hot topic that makes me post twice a day (i usually only post once a day). It's about what will not be available on PHP6. I read this topic while i'm updating my RSS client and the SitePoint section has been updated with a bunch of updates, including this topic. I browse the Internet and i opened up the link and read Harry Fuecks' article : "What won’t be in PHP 6". I followed some link and i found Minutes of PHP Developers Meeting, which was held at Paris November 11th and 12th, 2005 (it's kindda out of date, but it can give some notes about what's happening in the PHP6 development process). Some major conclusion was the removal of the Register Global, Magic Quotes, Safe Mode, and Deprecated Behaviour.

Here is the result if we use these kind of settings in the next PHP6 (taken from PHP Developer's meeting) : an E_CORE_ERROR will be thrown by the PHP engine when it detected the register_globals setting.

I think it's a good idea, since most of security attacks comes from those things, but it will make developer's work even worse, because they will have to change big parts of their code to make it compatible with PHP6 and with older PHP version (if they want to support it also). Let's just wait for the final release of PHP6.

No comments:

Post a Comment