Thursday, December 06, 2007

Becoming PHP 6 Compatible

In a new post on 'Making the Web blog', there's a new post that talks about preparing your code for PHP6 when it comes around. "If you want to make use of PHP 6 when it comes, you're going to have to write your new scripts so they are compatible, and possibly change some of your existing scripts. To start making your scripts PHP 6 compatible, I've compiled a list of tips to follow when scripting." The list of tips has five entries:

  • Don't use register_globals
  • Stop using magic_quotes
  • Don't Register Long Arrays
  • preg instead or ereg
  • Don't initiate objects with the reference operator

No comments: