We assume if you are reading this article that you have been convinced to learn PHP. Perhaps you are new to this language or perhaps you are already experienced with PHP4. Now the question is why should you do PHP5? After all, PHP4 is quite good. Yes, but depending on what you are doing PHP5 can be better, much better. Just a simple reminder, we feel that most people who are new to programming should start with PHP4. Most people learn to walk before they learn to skate. But many great hockey players learned to ice skate before they learned to walk.
Object-oriented programming is the way to go when you want to develop sophisticated applications. Many purists say that people serious about programming should start with object-oriented programming right from the beginning. Don't get me wrong. PHP4 supports many aspects of object-oriented programming. But it is missing many other aspects. The following is a partial list of functionality missing in Version 4 but available in Version 5. (This is not the place to explain these functions, don't worry if you don't know what they mean until you are ready to start using them.) PHP5 enables you to work with destructors, private and protected member variables and functions, static member variables and functions, interfaces, class type hints, abstract classes and methods, object iteration, and more. If that sounds like a lot to learn, it is. Should you need any or all of this functionality you will swear by this version. And swear at Version 4. If this is what you need don't look for workarounds, download PHP5. By the way, PHP5 doesn't only increase object-oriented functionality. Because of better internal management PHP5 actually works faster than PHP4 or the Microsoft alternatives, whether or not you are using this new functionality.
The world wide web is really world-wide. Yes, and many parts of the world don't rely on our 26-letter alphabet. PHP5 supports non-Western character sets and Unicode so that you can develop web pages for access anywhere in the whole wide world.
If you use XML instead of HTML you should move to Version 5 for a variety of technical reasons. Many sections of this product were rewritten in XML to extend, improve, and simplify it. Additional reasons for moving to PHP5 include dozens of new functions and improved MySQL support. On the downside, it is not supported on Windows 95. Considering that Microsoft no longer supports Windows 95 this is hardly a surprise. But you can run PHP5 on quite old computers. I have run PHP5 programs under Windows 2000 on a computer purchased new in August, 1999. And the entire PHP environment required less than 100 Megabytes.
Levi Reiss has sinced written about articles on various topics from Touring Italy, Travel and Leisure and Food and Drink. Levi Reiss has written ten computer and Internet books either alone or with a co-author. The books are over, at least for the time being, replaced by a multitude of websites, including global wine, Italian wine, Italian travel, and health and nutritional. Levi Reiss's top article generates over 450000 views. to your Favourites.