Re: PHP4 vs PHP5

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

 



Myron Turner wrote:

> Travis Doherty wrote:
>
>>>     
>>
>> What about the argument that PHP4 is dead.  It's done.  It's over.
>> There is no reason anyone should be using it, less perhaps a lack of
>> time to tweak scripts for an upgrade from 4 to 5.  Even if that is the
>> case, get to work :p
>>
>> "Support for PHP 4 will be dropped at the end of the year, 8 months from
>> now. So now is the time to start upgrading all your scripts as we won't
>> be releasing new versions after December 31st, 2007."
>>
>> http://derickrethans.nl/php_quebec_conference_rip_php_4.php
>>
>> Travis Doherty
>>
>>   
>
> This is fine, as long as the newer versions are backwardly
> compatible.  If , in particular, if the next version or version 6 does
> not support the PHP 4 object oriented model, it could present real
> problems for some software.  PHP isn't used only for "scripts" but for
> large projects.  For example, I just began to configure a DokuWicki
> installation, writing code for various features which are not included
> in the install.  DokuWicki uses the PHP 4 object oriented model
> throughout, and user plugins, such as mine, are written to the same
> model.  DokuWicki contains over 300 php files and more than 3 megs of
> code.  It would be no small task to convert such a project over to the
> PHP 5 OO model.

DokuWiki should run just fine under PHP5.  It may throw some E_STRICT
errors warning of things that will be deprecated in a later major PHP
release.  I doubt DokuWiki needs register_globals, and magic_quotes
shouldn't be a question.  Use the strict level warnings as hints to help
you find what needs to be modified in your own code.

Travis Doherty

-- 
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