03-05-2013, 06:51 AM #1
What are the differences between PHP3 and PHP4 and PHP5 ?
I'm a new to the PHP thing. I want to try to setup my server to handle PHP3 and PHP4 requests easily. e.g. I have some scripts that are PHP3 and want to start learning PHP4. Instead of doing the simple (like anything I do is simple URL ) thing, I am attempting to set up apache to support MySQL, PHP3, PHP4, SSL, ColdFusion, SteelBlue, and maybe even Frontpage.
03-29-2013, 03:06 PM #2
PHP3 is oldest constant version and it was clean technical language constructive like C.
Where as PHP4 have certain OOPs theory added such as class and object with new functionality.
PHP5 around every major oops functionality has been added along with below thing :
1) Implementation of exclusions and exception handling
2) Type suggesting which permits you to force the type of a exact argument
04-15-2013, 08:20 AM #3
PHP3 stable is the older version was purely procedural language constructive such as C. Where PHP4 and some concept of amnesty and added such class object with a new job.
01-18-2014, 06:51 PM #4
(PHP3 stable is the older version was purely procedural language constructive such as C. Where PHP4 and some concept of amnesty and added such class object with a new job.)
thank for sharing
07-25-2017, 07:52 AM #5
Well, there are many differences between these three PHP's.
PHP3- is the oldest one out of the three. Nobody is really using it anymore, neither should you.
PHP4- second oldest, improved from the PHP3 but still ''worse'' than PHP5 which you should be using.
PHP5- has the most of the OOP functionality, best performance, most functional overall and is the one you should strive to use.
If you want a really detailed list, I think that they have one in the manual on the php.net website hope that this was a bit helpful!
09-02-2017, 07:05 AM #6
PHP is a server-side scripting language that is used in website development. PHP4 and PHP5 are two different versions of PHP. PHP4 was first released in May of 2000. PHP5 was later released in 2004 and came powered by the Zend Engine II that is considered by the development community as an improvement over PHP4.
After various versions of PHP4, the last version titled PHP4.4.9 released in August of 2008. After the last release, it was announced that PHP4 would not longer be developed, including future security updates for the language.
With the lack of support for PHP4, many new servers are no longer supporting php4 and developers are having to make changes to their websites to support PHP5 instead of PHP4.
10-23-2017, 02:36 PM #7
10-24-2017, 10:04 AM #8
I was very surprised reading through all the comments and not one person mentioned the biggest and most important reason for working with the latest versions of most any software language....SECURITY.....
Do not deploy with PHP versions 3 or 4. There are far too many security issues and they no longer have support in the PHP community. You will also limit yourself in what you can accomplish with those two older languages.
I have included a high level overview of some of the major changes that occurred in the development of PHP. This is by no way a complete list as that would take days to put together, there have been 10's of thousands of changes to the language just over the last five or six years.
PHP3 - (No Longer Supported) Oct. 2000, was a good server side language that gave us web developers an opportunity to work with the server side of our applications, this was one of the first languages available to web developers that allowed this, at that time the web was very new and static web pages were the norm. Originally develop as a Personal Home Page language, Rasmus Lerdorf in 1994, he developed the language for his personal use, it worked but had many areas that needed to be developed. There was only one version of PHP3 it was quickly replaced by PHP4 in just a few short months.
PHP4 - (No Longer Supported) developed and released in May 2001 was a vast improvement to PHP3. Initial types of security was implemented and support of Arrays was added this was a large step forward. Version 4 went through many updates over the years and major upgrades to the language were occurring approximately every 3 months, the PHP group began to grow and the development was very instrumental in the changes that were occurring and the implementation of database support. As popularity grew there were still many issues discovered with the security implementation of the langauge across larger sites. Version 4 was the first version that supported the Apache server configuration, as that was becoming the most popular web server being deployed. Many security issues and numerous language updates occurred throughout the life-cycle of PHP4. The first real SQL middle-ware was developed during version 4 and full support for remote databases was established.
PHP6 - never officially released and development scrapped in June 2014.
PHP7 - Released Dec. 2015. Speed and multi-thread asynchronous support was the major driving factor. Numerous security updates and encryption updates added to the initial release. Growing in popularity but still way behind PHP5 in deployments.
I hope this helps.
The Following User Says Thank You to Mike001 For This Useful Post:
Replies: 1 | Views: 2474Last post by Darius, 03-10-2013, 12:58 PM
By prem_sagar12 in forum Link ExchangeReplies: 1 | Views: 3650Last post by creativesystem, 03-12-2013, 03:18 PM
Replies: 2 | Views: 3316Last post by pramod, 03-05-2013, 08:22 AM
Replies: 3 | Views: 2139Last post by tayloralina, 04-02-2013, 08:43 AM
Replies: 24 | Views: 10630Last post by Carl0251, 03-10-2015, 01:12 AM
By Sean-P in forum Affiliate Programs PromotionReplies: 2 | Views: 5159Last post by LindaH, 08-28-2013, 07:14 AM
Replies: 0 | Views: 2811Last post by Dmoz, 03-05-2013, 06:44 AM
Replies: 7 | Views: 3940Last post by vincent007, 02-20-2018, 04:20 AM
Replies: 0 | Views: 2456Last post by soThink, 02-26-2013, 02:17 PM
Replies: 15 | Views: 11246Last post by kristin123, 03-06-2014, 09:41 AM
Replies: 1 | Views: 162Last post by Rob Whisonant, 02-21-2020, 08:47 PM
Replies: 0 | Views: 118Last post by Carlos, 02-20-2020, 11:34 PM
By susanburling in forum Search Engine OptimizationReplies: 4 | Views: 195Last post by bracknelson, 02-22-2020, 07:56 AM
By simonrichard in forum Search Engine OptimizationReplies: 1 | Views: 193Last post by susanburling, 02-21-2020, 12:05 PM
By shoptechmedia in forum Online Internet MarketingReplies: 0 | Views: 169Last post by shoptechmedia, 02-18-2020, 08:25 AM
Replies: 6 | Views: 2989Last post by rohanjain, 05-01-2014, 04:19 AM
By Sean Bean in forum Online Business and eCommerceReplies: 16 | Views: 8544Last post by erinnagata, 03-07-2014, 02:05 AM
Replies: 3 | Views: 3145Last post by Shirley_Sharp, 12-18-2013, 10:06 AM
By shophia in forum Web Development - Programming & CodingReplies: 4 | Views: 2751Last post by Inquestor, 10-05-2013, 07:27 PM
By Andre in forum Search Engine OptimizationReplies: 3 | Views: 2288Last post by Bradley, 01-23-2013, 06:45 PM
Tags for this Thread