Re: Transitioning from php3 to php4

From: Date: Sun, 04 Feb 2001 02:56:24 +0000
Subject: Re: Transitioning from php3 to php4
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38056@lists.php.net to get a copy of this message
> I have several sites that need to be upgraded from php3 to php4. In order > to test compliance of the php3 code on php4, I need to know exactly which > functions have different usage / results on php4. > > I know that include() and rand() work differently, any others? > > Does anyone know of an article / page in docs that explains this? There was > a page like this on php.net when php4 was first released, but I can't find > it anymore. The faq on this does not have any useful info. I know the page you mean, and I can't find it either :-( If you have { or } embedded in a string as regular output to the user, that will need to be escaped now. The other functions were all real "weird" ones that I never used, so didn't worry about :-^ What you might want to consider doing is installing *both* PHP3 and PHP4 at one time, and leaving pages as PHP3 until you can verify what does or doesn't work in some testing. There really were very, very, very few changes from PHP3 to PHP4, considering it was a complete re-write of the engine. Your upgrade will almost certainly be surprisingly uneventful :-) -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#38056) next »