Results 1 to 9 of 9

Thread: PHP 4.3 vs 5 (which one should I start learning?)

  1. #1
    bored out of my tiny mind malfunction's Avatar
    Join Date
    Jul 2003
    Location
    Lurking
    Posts
    3,923
    Thanks
    191
    Thanked
    187 times in 163 posts
    • malfunction's system
      • Motherboard:
      • Gigabyte G1.Sniper (with daft heatsinks and annoying Killer NIC)
      • CPU:
      • Xeon X5670 (6 core LGA 1366) @ 4.4GHz
      • Memory:
      • 48GB DDR3 1600 (6 * 8GB)
      • Storage:
      • 1TB 840 Evo + 1TB 850 Evo
      • Graphics card(s):
      • 290X
      • PSU:
      • Antec True Power New 750W
      • Case:
      • Cooltek W2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell U2715H

    PHP 4.3 vs 5 (which one should I start learning?)

    I'm planning to finally sit down and learn PHP - both for something to add to my CV and because I'm going to finally set up my own website (well sometime soon anyway). I was thinking of going with hosting-unlimited.net who are still using 4.3 - so should I start with that or find a host that's already upgraded to PHP5?

    Suggestions appreciated. For background info I know ASP quite well as well as fair few other bits and pieces so I'm not coming to PHP 'cold'.

  2. #2
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Not many changes from 4.3 to 5 i think. Only problem i have with PHP is interacting with forms, dunno why, just never been able to get the hang of it. Anyway, http://www.php.net/ is an excellent resource, probably the best online manual of any programming language I know. Well structured etc.

    I don't know the differences between 4.3 and 5, the PHP website will probably tell you.

    ASP is quite similar to PHP syntactically, it's just M$'s version of PHP (well that's what i learnt on my course )

  3. #3
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    Not many changes from 4.3 to 5 i think
    erm....

    There are too many to count. Biggest one imho is the move to the new OO model but there are others including better support for XML, web services, mysqli extensions and associated performance tweaks.

    As Kezzer says, have a look at php.net or www.zend.com/php5

  4. #4
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    Az, exactly, the whole class support was overhauled entirely, PHP5 gave me everything I griped about with PHP4 OOP..

    And they added PECL extention framework with PHP5 didn't they?.. looks all good to me.

  5. #5
    bored out of my tiny mind malfunction's Avatar
    Join Date
    Jul 2003
    Location
    Lurking
    Posts
    3,923
    Thanks
    191
    Thanked
    187 times in 163 posts
    • malfunction's system
      • Motherboard:
      • Gigabyte G1.Sniper (with daft heatsinks and annoying Killer NIC)
      • CPU:
      • Xeon X5670 (6 core LGA 1366) @ 4.4GHz
      • Memory:
      • 48GB DDR3 1600 (6 * 8GB)
      • Storage:
      • 1TB 840 Evo + 1TB 850 Evo
      • Graphics card(s):
      • 290X
      • PSU:
      • Antec True Power New 750W
      • Case:
      • Cooltek W2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell U2715H
    Cheers Az - the zend site had a much better summary - I just kept finding reference to incompatibilities between 4.3 and 5 on php.net...

    So... Next question - can anyone recommend a PHP5 host (will do a google search too - not being lazy )

  6. #6
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    http://www.webconexion.net/services/web_hosting.php doesn't look too bad

    *edit* different host here
    Last edited by aidanjt; 04-02-2005 at 06:48 PM.

  7. #7
    Senior Member
    Join Date
    Dec 2004
    Posts
    360
    Thanks
    27
    Thanked
    2 times in 2 posts
    • piggeh's system
      • Motherboard:
      • ASUS AiLife IP35
      • CPU:
      • Intel Q6600 G0
      • Memory:
      • OCZ 2x2GB DDR2 (5-4-4-18)
      • Storage:
      • 500GB Spinpoint
      • Graphics card(s):
      • Inno3D 8800GT
      • PSU:
      • Corsair HX520W
      • Case:
      • Antec 900 Case
      • Operating System:
      • Vista 64
      • Monitor(s):
      • Samsung 24" SM2494HS
      • Internet:
      • Virgin Cable
    If you pick up a good book on PHP 5, it will tell you the old way (4.3) of doing things as well. From what I've covered in PHP in 24 hours (SAMS series), it generally goes over how it was done before showing you how it is now done in php 5. I havent got to the more complicated bits though so cant really vouch for Object-Oriented programming.

  8. #8
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    OOP is great for large projects, but a lot of hassle if your only doing simple things with it.

  9. #9
    Banned
    Join Date
    Jul 2004
    Location
    Blackpool
    Posts
    983
    Thanks
    15
    Thanked
    38 times in 20 posts
    For learning the best thing I can suggest is running Apache from you're computer with PHP and MySQL... Can be set up in a night, and i'm sure people from here would help you.

    That way you don't have to keep FTPing files all the time and everything is instant. 'Tis how I went about it anyway.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Start up problems after drive changes - Non urgent
    By subucni in forum Help! Quick Relief From Tech Headaches
    Replies: 3
    Last Post: 14-01-2005, 11:28 AM
  2. Need help, php masters!
    By Allen in forum Software
    Replies: 10
    Last Post: 07-07-2004, 07:16 AM
  3. windows doesn't start up!
    By shiato storm in forum Software
    Replies: 2
    Last Post: 01-12-2003, 04:59 PM
  4. A good language to start with?
    By Dorza in forum Software
    Replies: 24
    Last Post: 29-09-2003, 09:21 AM

Posting Permissions

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