Re: Support for PHP4 (was: Re: POP3 Mail Fetch plugin not PHP4 compatible...)

Paul Lesniewski <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
On Tue, Feb 16, 2010 at 12:50 PM, Thijs Kinkhorst <[email protected]> wrote:
> On Tue, February 16, 2010 19:15, Paul Lesniewski wrote:
>> On Tue, Feb 16, 2010 at 5:48 AM, Thijs Kinkhorst <[email protected]>
>> wrote:
>>> Hi Alexandros,
>>>
>>> On Tue, February 16, 2010 12:14, Alexandros Vellis wrote:
>>>> ...due to use of function stripos().
>>>>
>>>> Something like this fixes it:
>>>
>>> Thanks! I have applied the patch to the stable branch.
>>>
>>> However, Michelle is right. PHP4 is out of support. The Debian release
>>> that still has PHP4, Debian Etch, has also just ran out of security
>>> support. That means that the base for supporting PHP4 gets very small at
>>> this point.
>>>
>>> I believe the following is a useful strategy:
>>> 1) Keep PHP4 support working for stable when reasonably possible. I
>>> don't
>>>   think it's wise to keep running PHP4, but I also see no need to break
>>>   the stable branch for it.
>>> 2) On the other hand, don't invest the same effort for devel. It will be
>>>   a while before devel becomes a new stable release, and by that time
>>> PHP4
>>>   will be even longer out of support.
>>>
>>> I propose to hence change the documented minimum version in devel to
>>> PHP5.
>>> Comments?
>>
>> The reason the project goals include supporting things like PHP4 and
>> no JavaScript is to support as wide a range of environments as
>> possible.  Statistics still show a lot of PHP4 out there.  I believe
>> we should wait until that changes until considering any big changes.
>> To your last question, if the code still supports PHP4, then why would
>> we make a misleading statement in the documentation to the contrary?
>
> One reason for making that statement is that testing whether changes work
> with PHP4 is as far as I know done rarely or not at all.

Then that's a problem with the developers wherein they should pay
close attention to their work.  If the code supports PHP4, that's what
we should say.  If we want to *encourage* PHP5, that's a different
thing altogether.


-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.