Page 1 of 1

start with php4 or php5 !!!

Posted: Tue Feb 26, 2008 1:38 pm
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

Re: start with php4 or php5 !!!

Posted: Tue Feb 26, 2008 2:22 pm
by Christopher
Only develop PHP4 if you are forced to for business reasons.

Re: start with php4 or php5 !!!

Posted: Tue Feb 26, 2008 8:58 pm
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.