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
start with php4 or php5 !!!
Moderator: General Moderators
start with php4 or php5 !!!
Last edited by incognito on Tue Feb 26, 2008 3:52 pm, edited 1 time in total.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: start with php4 or php5 !!!
Only develop PHP4 if you are forced to for business reasons.
(#10850)
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Re: start with php4 or php5 !!!
Which it seems is the case. Develop in PHP 4, stay away from obscure language features, and it should automatically work on PHP 5.