start with php4 or php5 !!!

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
incognito
Forum Newbie
Posts: 1
Joined: Tue Feb 26, 2008 1:24 pm

start with php4 or php5 !!!

Post by incognito »

ok,i'm developing an application and i have to support servers running both versions of php .
never developed in php5 before,was wondering, should i develop the application for php5 then test/change to work on php4 or vice versa ?
the application could take about 5 months to complete, shall i bother myself developing in php4 anyways ?

regards
Last edited by incognito on Tue Feb 26, 2008 3:52 pm, edited 1 time in total.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: start with php4 or php5 !!!

Post by Christopher »

Only develop PHP4 if you are forced to for business reasons.
(#10850)
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Re: start with php4 or php5 !!!

Post by Ambush Commander »

Which it seems is the case. Develop in PHP 4, stay away from obscure language features, and it should automatically work on PHP 5.
Post Reply