Do you prefer 4 or 5?

Discussion in 'PHP' started by enchance, Sep 18, 2007.

  1. #1
    Do you suggest learning php4 or 5?
     
    enchance, Sep 18, 2007 IP
  2. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #2
    PHP5, since PHP4 is discontinued..
     
    crazyryan, Sep 18, 2007 IP
  3. Synchronium

    Synchronium Active Member

    Messages:
    463
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #3
    PHP5 supports OOP.
     
    Synchronium, Sep 18, 2007 IP
  4. norfstar

    norfstar Peon

    Messages:
    1,154
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    0
    #4
    PHP5 definitely.
     
    norfstar, Sep 18, 2007 IP
  5. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    #5
    They are cutting support for PHP4 about 11 months from now, so anyone who wants to continue programming in PHP will learn 5. Luckily there are a lot of similarities, so if you have any familiarity with PHP4, you'll be alright transitioning to 5.
     
    omgitsfletch, Sep 18, 2007 IP
  6. enchance

    enchance Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I'm just starting but made the mistake of using php 4 in xamp. I'll move over to php5 then.
     
    enchance, Sep 18, 2007 IP
  7. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    #7
    XAMPP is a great program, it's what I use for web development. If I remember correctly, the newest version has a batch file to switch between versions 4 and 5, correct? The big changes between 4 and 5 are updates to security obviously, and a total OOP structure makeover. Anything else REALLY significantly different between them?
     
    omgitsfletch, Sep 18, 2007 IP
  8. enchance

    enchance Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yes, it does! Isn't it great the way it makes learning PHP/MySQL so much easier for the rest of us? Cheers!
     
    enchance, Sep 18, 2007 IP
  9. kendo1979

    kendo1979 Peon

    Messages:
    208
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    newer the better, especially if the old one is getting discontinued.
     
    kendo1979, Sep 18, 2007 IP