For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > March 2004 > PHP4 vs PHP5 - what's the (functional) difference(s)?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP4 vs PHP5 - what's the (functional) difference(s)?
Ruby Tuesdays

2004-03-26, 11:13 pm

I had php script that used to work with PHP 4.3.4 but stop working as soon
as I use the PHP5RC1? Are there list differences that is deprecated/remove
from PHP4.3.4? Thanks


Phil Roberts

2004-03-26, 11:13 pm

With total disregard for any kind of safety measures "Ruby
Tuesdays" <NoSpamPlease_rubytuzdaiz@yahoo.com> leapt forth and
uttered:

> I had php script that used to work with PHP 4.3.4 but stop
> working as soon as I use the PHP5RC1? Are there list differences
> that is deprecated/remove from PHP4.3.4? Thanks
>
>


PHP5 comes with a Zend Engine 1 compatibility mode. So unless your
scripts are extremely old or very badly coded then they should work
with minimal to no alteration.

--
Phil Roberts | Dork Pretending To Be Hard | http://www.flatnet.net/
Nelson Menezes

2004-03-26, 11:13 pm

On Wed, 24 Mar 2004 00:33:57 -0500, Ruby Tuesdays wrote:

> I had php script that used to work with PHP 4.3.4 but stop working as soon
> as I use the PHP5RC1? Are there list differences that is deprecated/remove
> from PHP4.3.4? Thanks


If you use objects, there's a chance things might break. Have a read here;
it's actually quite interesting to know of the new things:

http://www.zend.com/php5/articles/e...hp5-changes.php

--
Nelson Menezes
http://burningorizons.net
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com