|
|
|
|
Thread title: What is the difference between PHP 4 and 5? |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
09-16-2008, 12:59 PM
|
#1
|
Status: Sin Binner
Join date: Feb 2007
Location:
Expertise:
Software:
Posts: 89
|
What is the difference between PHP 4 and 5?
Could you tell me the main advantages of PHP 5 in comparison with PHP 4?
|
|
09-16-2008, 02:13 PM
|
#2
|
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
Posts: 6,894
|
|
|
09-16-2008, 02:38 PM
|
#3
|
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
Posts: 3,820
|
|
|
09-20-2008, 03:15 PM
|
#4
|
Status: Junior Member
Join date: May 2005
Location:
Expertise:
Software:
Posts: 77
|
For those who program only occasionally, and therefore aren't PHP professionals, probably nothing worth worrying about. Because you wouldn't be using the newer features anyway. The OO features require you to know about OO, and occasional programmers wouldn't be tackling projects that needed OO.
|
|
09-20-2008, 09:32 PM
|
#5
|
Status: Junior Member
Join date: Sep 2008
Location: California
Expertise:
Software:
Posts: 26
|
Originally Posted by Dr John
For those who program only occasionally, and therefore aren't PHP professionals, probably nothing worth worrying about. Because you wouldn't be using the newer features anyway. The OO features require you to know about OO, and occasional programmers wouldn't be tackling projects that needed OO.
|
Yeah PHP 5 is nice in a professional setting where you are developing in a team using OO features. In general though, PHP4 code tends to look like spaghetti code and PHP5 code tends to look like a weak version of Java.
|
|
09-22-2008, 02:12 PM
|
#6
|
Status: On Vacation
Join date: Mar 2008
Location:
Expertise:
Software:
Posts: 60
|
Originally Posted by Salathe
|
Thanks for the link. There are many interesting facts.
|
|
10-25-2008, 05:57 PM
|
#7
|
Status: I'm new around here
Join date: Oct 2008
Location:
Expertise:
Software:
Posts: 15
|
Its best you get a host that has PHP5, as end of life for PHP4 is at the end of this year if I recall correctly. This means that alot of web apps that are free are going to end support for PHP4.
|
|
11-12-2008, 08:35 AM
|
#8
|
Status: I'm new around here
Join date: Oct 2008
Location: UK
Expertise:
Software:
Posts: 20
|
Php 5 is enhanced version of PHP 4 and consist of OOPS concept in more detailed form for more info either visit wiki or google
|
|
12-15-2008, 09:24 PM
|
#9
|
Status: I'm new around here
Join date: Dec 2008
Location:
Expertise:
Software:
Posts: 14
|
Some PHP4 scripts wont work with PHP5 which is very frusterating.
|
|
12-22-2008, 06:59 AM
|
#10
|
Status: I'm new around here
Join date: Dec 2008
Location:
Expertise:
Software:
Posts: 7
|
Most hosts are starting to switch over to 5 now, which is nice. The object oriented benefits (find them on php.net; there's a nice page documenting the differences/growths) are innumerable.
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|