I m learning php.any1 can simply explain what is the difference between php php4 php5

Discussion in 'PHP' started by shorif, Nov 15, 2010.

  1. #1
    I m learning php.any1 can simply explain what is the difference between php php4 php5
     
    shorif, Nov 15, 2010 IP
  2. sitescripts

    sitescripts Active Member

    Messages:
    600
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    88
    Digital Goods:
    10
    #2
    mostly bug fixes and new functions
     
    sitescripts, Nov 15, 2010 IP
  3. imocoder

    imocoder Member

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    PHP5 has:
    - OOP features
    - abstract classes
    - interfaces
    - unified constructors and destructors
    - there is a very nice function __autoload
    - bug fixes
    and many more... so you can forget PHP4.
     
    imocoder, Nov 15, 2010 IP
  4. xpertdev

    xpertdev Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    version change always come with bug fixes and new features... :)
     
    xpertdev, Nov 16, 2010 IP
  5. jacktheo

    jacktheo Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Here's a quick overview of what has changed between PH4 and PHP5. PHP5 for the most part is backwards compatible with PHP4, but there are a couple key changes that might break your PHP4 script in a PHP5 environment. If you aren't already, I stronly suggest you start developing for PHP5.
     
    jacktheo, Nov 18, 2010 IP