SitePoint Sponsor |
|
User Tag List
Results 1 to 8 of 8
-
Dec 3, 2000, 03:33 #1
- Join Date
- Jun 2000
- Location
- Netherlands
- Posts
- 1,356
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Can you, for example, rename all extensions of and in a php3 script to php without problems?
www.nyanko.ws - My web-, software- and game development company.
www.mayaposch.com - My personal site and blog.
-
Dec 3, 2000, 05:52 #2
- Join Date
- Jul 1999
- Location
- Derbyshire, UK
- Posts
- 4,411
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
In most cases all PHP3 scripts will run in PHP4 without any modification unless some of the less common commands have being used.
PHP4 has a completly re-written parsing engine (The Zend Engine) that is much faster than the parsing engine in PHP3 and when combined with the new Optimizer it improves the speed even more.
In some cases it would be beneficial to change some PHP3 scripts as they may have custom user defined functions in them that mimick PHP4 functions now as that many new functions have been added to PHP4.Karl Austin :: Profile :: KDA Web Services Ltd.
Business Web Hosting :: Managed Dedicated Hosting
Call 0800 542 9764 today and ask how we can help your business grow.
-
Dec 3, 2000, 05:55 #3
- Join Date
- Jun 2000
- Location
- Netherlands
- Posts
- 1,356
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks for that most helpful reply, Karl!
www.nyanko.ws - My web-, software- and game development company.
www.mayaposch.com - My personal site and blog.
-
Dec 3, 2000, 07:08 #4
- Join Date
- Jul 1999
- Location
- Derbyshire, UK
- Posts
- 4,411
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
No probs, I tried to find the article on PHP.net about the differences between 3 and 4 but it seems to have disappeared now, but from participation in the QA team and the mailing lists I can tell you that not many people have had problems moving scripts over.
Karl Austin :: Profile :: KDA Web Services Ltd.
Business Web Hosting :: Managed Dedicated Hosting
Call 0800 542 9764 today and ask how we can help your business grow.
-
Dec 3, 2000, 08:26 #5
- Join Date
- Jun 2000
- Location
- Netherlands
- Posts
- 1,356
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I forgot to mention that I too had searched at php.net for that particular article
Well, thanks for your help and wish me luck: I got to change a whole Bulletin board from PHP3 to PHP4... <sigh>www.nyanko.ws - My web-, software- and game development company.
www.mayaposch.com - My personal site and blog.
-
Dec 3, 2000, 14:45 #6
- Join Date
- Aug 2000
- Location
- Silicon Valley
- Posts
- 2,241
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It will be no/little problem.
There are some (just a few) functions become deprecated.
Good luck- Son Nguyen
AdSpeed.com - Ad Serving and Ad Management Made Easy
-
Dec 3, 2000, 14:50 #7
- Join Date
- Jul 2000
- Posts
- 759
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't believe PHP3 supports sessions, PHP4 does.
That's about the only difference that I know
-
Dec 3, 2000, 15:04 #8
- Join Date
- Aug 2000
- Location
- Silicon Valley
- Posts
- 2,241
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by mkaufman
I don't believe PHP3 supports sessions, PHP4 does.
That's about the only difference that I know- Son Nguyen
AdSpeed.com - Ad Serving and Ad Management Made Easy
Bookmarks