Re: moving from php3 to php4
| From: | (Richard Lynch) | Date: | Tue, 04 Jul 2000 01:52:52 +0000 |
| Subject: | Re: moving from php3 to php4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4641@lists.php.net to get a copy of this message | ||
In article <20000630184034.11245.qmail@web219.mail.yahoo.com>,
turbo2l@yahoo.com (Eric Porter) wrote:
> I have recently switched servers.. All my code
> that once worked on php3 is giving me errors on
> the php4 server.
>
> if(mysql_numrows($list)<19){ blah.. } &
> while ($row = mysql_fetch_array($list)) {}
>
> just for a quick example. don't laugh at my
> chessy code it worked once upon a time ;).
>
> Is there a page/readme/app that will parse old 3
> code and make it work for php4 ? Or a editor that
> will flag this stuff without trial and error
> debugging ?
You could install PHP3 as well as PHP4, and then do a ForceType for the
files that are not working...
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)