View Full Version : Can you tell me the difference between PHP 4 & PHP 5 versions?
pacifich
12-15-2009, 03:24 PM
So, what are your views on advantages of using PHP 5 instead of PHP 4?
fabulous
04-02-2010, 04:52 AM
So, what are your views on advantages of using PHP 5 instead of PHP 4?
You most likely know that PHP 5 is destined for OOP, but it appears that usual programming can be used too. Furthermore, OOP is used in PHP4 as well, with the difference that in PHP5 things are a little more evaluated. This means that in PHP4 safety modes for classes (public, private) are not accepted. In PHP4 the objects are a kind of structures which accept objects and functions as well, according to OOP. In PHP4 they are useful as well.
sale clothes (http://www.fabulouslyfunkyfinds.com/c-93-clothing.aspx)
sale jewelry (http://www.fabulouslyfunkyfinds.com/c-96-jewelry.aspx)
discount handbags (http://www.fabulouslyfunkyfinds.com/c-94-handbags.aspx)
michaelmoody84
10-20-2011, 11:26 AM
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. Many hosts these days offer a PHP5 environment, or a dual PHP4/PHP5 setup so you should be fine on that end. Using all of these new features is worth even a moderate amount of trouble you might go through finding a new host!
knowledge base software (http://www.knowledgebaseforce.com/benefits.aspx)
So, what are your views on advantages of using PHP 5 instead of PHP 4?
starsky
04-16-2012, 05:49 AM
Thank you because you shared difference between PHP 4 & PHP 5 version
amythhomas
06-26-2012, 11:13 AM
Some Main Advantages of PHP 5 :
1. New Functions
2. Better OOP
3. Security Fixes.
So, what are your views on advantages of using PHP 5 instead of PHP 4?
pwhrita
08-07-2012, 02:17 PM
Hello,
Important information is shared in this post, thank you all for this info.
hitsandy
08-08-2012, 12:19 PM
There are some main features added in PHP 5 Version like:
Object Model
Standard PHP Library
Miscellaneous Features
Compatibility Issues
ruby01
08-14-2012, 11:45 AM
Very informative and helpful in terms of providing a detailed account of the topic. I like the way you maintained the flow of thought right from the beginning to the end. Keep us
posted with more such interesting posts in the future as well.
James Andy
09-22-2012, 10:32 AM
PHP5 is the next generation of PHP.
http://www.php.net
Go check it out, they talk about the differences there.
Dam Ponting
10-23-2017, 12:41 PM
PHP is a server-side scripting dialect that is utilized as a part of site advancement. PHP4 and PHP5 are two distinct variants of PHP. PHP4 was first discharged in May of 2000. PHP5 was later discharged in 2004 and came fueled by the Zend Engine II that is considered by the advancement group as a change over PHP4.
lishmalinyjames
04-20-2021, 11:09 AM
In PHP 4 everything, including objects, was passed by value. This has been changed in PHP 5 where everything is passed by reference. ... This is a typical PHP 4 code - if you wanted to duplicate an object, you had to copy it and assign a new value to it. In PHP 5 the coder can simply use the "clone".
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.