Usually when a new software version shows up everyone hurries to replace it especially if it's without cost. PHP Five has just come into view as well as it seems that you will find people who use the PHP 4 version and other people who use the PHP Five one.

You most likely know that PHP 5 is destined for OOP, but it appears that usual programming can be utilized also. Furthermore, OOP is utilized in PHP4 as well, with the difference that in PHP5 items are a little much more evaluated. This indicates 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 also, according to OOP. In PHP4 they're beneficial also.

In case you are used to working with PHP4 you are able to use PHP5 with no difficulties because the differences aren't essential and also the modifications had been created so that programmers would not be confused. An example will be class builders which, in PHP4 were functions within the courses bearing the same name since the class. In PHP5 it is firstly checked if there's a function (method) __construct (). If it does not exist, check if there is a function (method) which has the same name since the course. This indicates that even if you are not aware from the latest news in the domain of PHP5, your scripts will purpose without any issue.

If you want to install PHP4 and PHP5 in parallel, you can set USE indicators, which are various for every version and you can discover out lots of other essential pieces of info asking us.

Things to consider

Some things you should consider when choosing a hosting for your website:

  • Will there be much traffic on the site?
  • Will you have a community on your site? Then you should go for hosting with high CPU.
  • Which country are most of your visitors from? For most speed, get a server that is located in this country.

 

Best in test

4th year in a row, Hostgator wins the yearly Joomla Hosting Best in Test award. One of the big reasons for Hostingators success is that they offer Joomla sites everything you need, you pretty much have total freedom in all areas.

Unlimited bandwitdh, unlimited disk space, unlimited domains, unlimited live support etc. Click here to read more about them.