Re: [PEPr] +1 for File Formats::File_XSPF
| From: | Hannes Magnusson | Date: | Thu, 08 Dec 2005 14:45:37 +0000 |
| Subject: | Re: [PEPr] +1 for File Formats::File_XSPF | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-40653@lists.php.net to get a copy of this message | ||
On 12/8/05, David Grant <david@grant.org.uk> wrote:
> Hi Hannes,
>
> Hannes Magnusson wrote:
> > I've never said I wanted to restrict PEAR to PHP5 - just that we
> > should be looking forward and help out those who want to live in the
> > now. We shouldnt punish those who do run PHP5.
>
> I will add a PHP5 constructor, so the package should run if one ignores
> E_STRICT.
Althou I havent tryd it yet I think it should run just fine.
Adding __construct() wont help in any way since you have classname()
cunstructor already - which PHP5 fallsback to if it cant find
__construct().
>
> >> That said, sure some only php4 constructs are to be avoided
> >> (not that I saw some in this proposal ... I did not check it :) )
> > Wasnt realy my point. Its just so complicated to parse/write this in
> > PHP4 - piece of cake in PHP5 (which is why this package was created,
> > helping out those misfortunate PHP4 users? ;).
> >
> > XML in PHP4 is an disaster, not question about it.
>
> Absolutely. I dislike manipulating XML in PHP4 using the native
> extensions as much as anything about the language. This package -- like
> any PEAR package -- is designed to simplify the process of performing an
> defined action.
>
> Cheers,
>
> David
> --
> David Grant
> http://www.grant.org.uk/
>