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:[EMAIL PROTECTED]] 
> Sent: Monday, February 10, 2003 1:49 PM
> To: [EMAIL PROTECTED]
> 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?

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to