SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    Fluffy Kitten Programmer~ Elledan's Avatar
    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.

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    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.

  3. #3
    Fluffy Kitten Programmer~ Elledan's Avatar
    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.

  4. #4
    SitePoint Wizard silver trophy Karl's Avatar
    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.

  5. #5
    Fluffy Kitten Programmer~ Elledan's Avatar
    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.

  6. #6
    AdSpeed.com Son Nguyen's Avatar
    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

  7. #7
    exit();
    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

  8. #8
    AdSpeed.com Son Nguyen's Avatar
    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
    You could use PHPLIB for session management in PHP3, but it's unlike in PHP4, clear & simple!
    - Son Nguyen
    AdSpeed.com - Ad Serving and Ad Management Made Easy


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •