> I also have a question. Those of you who have ported PHP 4 sites to
work 
> on a PHP 5 box, how long did it take? Is there quite a process? I was 
> under the opinion that many PHP 4 apps/sites didn't need to change
much or 
> any to run with PHP 5, only if they used a few of the less-common 
> practices that PHP 5 no longer supported. Maybe I'm wrong. I've ported

> some of my stuff from PHP 5 back to 4 but not from 4 to 5. 
>

In managing the PhpGedView project (200k+ lines of code) we have had
very few problems supporting both PHP 4 and PHP 5.  For the most part
all of the code written in PHP 4 moved to PHP 5 without a problem and
any changes that were required were very simple. But we have also done
it incrementally, testing it with each new release of PHP 5.  Making the
jump from PHP 4 to PHP 5.2 now may be harder than it was 3 years ago.

The real headache for us has been maintaining backwards compatibility
with PHP 4.  2 years ago, in anticipation of PHP 5's built-in SQLite
support, we dropped support for running the program without a DB in all
future versions of the project.  Unfortunately we are still maintaining
that old version because there are users who still can't upgrade to PHP
5.

--John



_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to