Results 1 to 10 of 10
Thread: PHP 5 (difference)
-
08-29-2006, 01:10 AM #1Junior Guru
- Join Date
- Jan 2006
- Posts
- 230
PHP 5 (difference)
Hello all,
I have been coding in php 4.x ..... have not looked at 5 at all. Now I am thinking about it.... what benefits would I gain... ( what is new) would any of my apps get affected? any info would be helpful..... mainly looking for what has been discontinued, and what are the best you think in php5.
same for MySQL.Web Hosting Review - Real Reviews by Real People Submit your company and get a link to your site, Read Reviews GET YOUR Voice HEARD and REVIEW your HOST NOW!!! Check out our IT Blog Tips & Tricks
-
08-29-2006, 03:01 AM #2Web Hosting Guru
- Join Date
- May 2006
- Posts
- 279
Hi,
If you have used c and after that switched to c++ there is an easy answer - objects otherwise big difference - php5 is faster uses different function calls. You should rewrite your apps to support php5 but the newest one 5.1.5 supports both php4 and 5 so there should not be a problem migrating. You can stick to php4 until you learn 5 but my advise is - with php6 on the way - just go with the flow and start learning.
-
08-29-2006, 04:03 PM #3Disabled
- Join Date
- Aug 2006
- Posts
- 8
I've read PHP5 hasn't been publicised enough to be considered stable. It's too early in the release, that's why PHP4 still maintains the highest popularity. Can anybody comment on this? I'm a PHP developer but I've been a little scared to venture into the whole PHP5 scene...
-
08-29-2006, 06:17 PM #4Junior Guru
- Join Date
- Aug 2001
- Location
- Central USA
- Posts
- 200
Stable releases of PHP5 have been out since PHP 5.1, which has been a while ago now. The main reason for people not upgrading is because they are not being forced to. As more and more applications get developed in PHP5, you will start to see a bigger push and demand for PHP5.
The reason most people still aren't developing solely for PHP5 is because hosts are not upgrading, so their customers force them to keep PHP4 support, which really counteracts most of the reasons for using PHP5 in the first place. The reason hosts are not upgrading is because some poorly written pieces of software will not work under PHP5 that worked previously under PHP4. All of the well-programmed software will work just fine, however. There is not reason not to upgrade.
-
08-30-2006, 02:03 AM #5Junior Guru Wannabe
- Join Date
- Jul 2006
- Posts
- 87
Is there a list anywhere btw?
It's hardly early in the realease. There are (sorta) functional releases of php6 already out. If you don't hurry they could end up missing php5 entirely.
It looks like there are going to be a lot more problems going from 5 to 6 than from 4 to 5 as far as breakage goes.
http://wiki.cc/php/PHP6
-
08-30-2006, 05:26 AM #6Aspiring Evangelist
- Join Date
- Mar 2006
- Posts
- 421
http://www.webhostingtalk.com/showthread.php?t=542590 - that topic might help you a bit
-
08-30-2006, 08:31 AM #7Web Hosting Guru
- Join Date
- Oct 2004
- Location
- Brisbane, Australia
- Posts
- 259
PHP5 started beign released at the end of '03 which was over 3 years ago. People havn't upgraded because they don't want to break apps, which causes the developers not to persue compatability because it isn't in wide use.
Its a catch 22 situation that will only start to get better when people start paying attention. Luckily the PHP5.1.x series has started to catch on a bit.
-
08-30-2006, 11:23 PM #8Junior Guru
- Join Date
- Jan 2003
- Location
- MI
- Posts
- 229
Exactly, I don't get the hesitation to move. I've been working on moving our applications over and I'm loving the new object functionality, XML facilities, and exceptions. I have had some issues getting PDO going which has been disappointing, but I'm sure that will work itself out in time. I encourage developers to move on the php5 train. I've been very happy with the changes.
-
08-31-2006, 09:33 AM #9Aspiring Evangelist
- Join Date
- Mar 2006
- Posts
- 421
Originally Posted by deuce868
I think all programmers should work with php 5, at least if they want maximum effect
-
08-31-2006, 12:05 PM #10Newbie
- Join Date
- Aug 2006
- Posts
- 5
We just upgraded to PHP5 from 4.3.x with minimal impact.