Re: Re: php 4 to 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I look at other people's code sice I am new to the whole language. I have only been working with it for about a month and half now. I do have prior experience with languages such as ASP (both JScript and VBscript based). I am probably not going to upgrade now since my stuff "just works". I was just wondering what would be the main advantage.
----- Original Message ----- From: "Greg Beaver" <cellog@xxxxxxx>
To: "Travis Conway" <travis@xxxxxxxxxxxxxxxxx>
Cc: "PHP-GEMERAL" <php-general@xxxxxxxxxxxxx>
Sent: Sunday, November 28, 2004 6:15 PM
Subject: Re: php 4 to 5



Travis Conway wrote:
I do not know much about the history of php and do not know why there is active development on both the 4 and 5 major versions, but is there a definite reason for me to migrate from 4 to 5 on my servers?

Depends on what you wish to do with php.

PHP 5 has far better support for xml and soap than php 4. It has a stricter object model and supports native exceptions for error handling. Iterators, reflection, and __call()/__get()/__set() provide incredibly flexibility. It is new, and so not nearly as stable as PHP 4. Any solutions would need to be custom-written for PHP 5 at this point, although options are beginning to appear.

PHP 4 has a big history and is very stable. There are shortcomings that are addressed in PHP 5, but there is a huge codebase.

So, the question is, do you rely on other people's code, or your own? If you rely on other people's code, I would wait a year or two to upgrade. Otherwise, what are you waiting for?

:)
Greg

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux