Re: PHP5 or PHP4 this is the question

From: Date: Sat, 09 Jun 2007 22:10:11 +0000
Subject: Re: PHP5 or PHP4 this is the question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-256498@lists.php.net to get a copy of this message
At 3:27 PM -0400 6/9/07, Robert Cummings wrote:
On Sat, 2007-06-09 at 11:59 -0700, elk dolk wrote:
Hi all,
         After designing and testing my web pages in PHP 5.2.1   I learned that  our web server has PHP 4.4.1   and I have to rollback to version 4 ! . There is no OO implementation like classes or objects in my scripts but every page has some queries the question is : will my scripts work in PHP 4 ? or should I re-write all of them? or will it affect the speed of queries?
Should work mostly fine. PHP5 mostly brought OOP features to the table. Since you say you didn't use any OOP, then you just need to be wary of the odd PHP5 only function. Cheers, Rob.
My host just upgraded from php 4 to php 5 and while I appreciate the upgrade, now my really exotic functions like date() throw errors -- duh! Plus, none of my passwords work anymore, so I can't fit anything -- duh, again! Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#256498) next »