News Feed
Sections




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

Robert Ames' Blog:
Upgrading from PHP4 to PHP5
June 11, 2006 @ 13:34:24

For those out there wanting to make the move from PHP4 up to PHP5, Robert Ames has posted a few things to watch out for.

So, I've spent some time upgrading the darwingames.com codebase to be PHP5 compatible. For those considering the transition (and language designers who are considering an incompatible source version upgrade), I offer the following observations.

He breaks it down into to categories - the good and the bad. Some of the items on either list include:

  • static methods (good)
  • E_STRICT (bad)
  • random passing by reference gone (good)
  • replacing is_a() with instanceof (bad)

He also offers some of his personal suggestions for guidelines for future language updates.

0 comments voice your opinion now!
php4 php5 upgrading good bad recommendations php4 php5 upgrading good bad recommendations


blog comments powered by Disqus

Similar Posts

Johannes Schluter's Blog: Goto your Christmas presents with PHP 5.3

Christoph Dorn's Blog: Your Mac can talk FeedBurner stats via PHP!

Jonas Maurus\'s Blog: I\'m sorry, but PHP sucks.

SecurityReason: Three Advisories for PHP 5.2.4 (dl, iconv_substr & setlocale)

Job Posting: Open Source Staffing Seeks a PHP5 Developer (New York, NY)


Community Events





Don't see your event here?
Let us know!


library voicesoftheelephpant package community framework laravel podcast security introduction composer install release version language interview update symfony opinion tool series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework