RE: [PHP-INST] php backward compatibility

From: Date: Mon, 10 Feb 2003 20:04:09 +0000
Subject: RE: [PHP-INST] php backward compatibility
Groups: php.install 
Request: Send a blank email to php-install+get-10005@lists.php.net to get a copy of this message
Well, the basic language syntax hasn't changed. The major hang-ups I'd expect would be: (1) If you're using the $_POST, $_GET, $_SERVER, etc. variables, they didn't exist in that form back then -- you'd need to replace them with, for example, $HTTP_POST_VARS, and (2) You would, of course, want to avoid functions that have been added since the release of v4.0.1 -- the manual should be a good guide as to when a particular function or feature was added to the language. Of course, if it's an option to do so, it would be advisable to get the 4.0.1 machine upgraded. In addition to added features and functionality, there have been a few security-related updates over the past 2 1/2 years... --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | -- John Powell > -----Original Message----- > From: Yakov Cherkassky [mailto:ycherkassky@on.pelmorex.com] > Sent: Monday, February 10, 2003 1:49 PM > To: php-install@lists.php.net > Subject: [PHP-INST] php backward compatibility > > > Is it possible to run PHP code written on php4.2.3 on php > 4.0.1 without major modification? > > My initial checks indicate no... Any other ideas?

« previous php.install (#10005) next »