Php 5.3 support

Milian Wolff mail at milianw.de
Wed Jun 9 13:41:40 UTC 2010


Niko Sams, 09.06.2010:
> On Tue, Jun 8, 2010 at 23:00, Milian Wolff <mail at milianw.de> wrote:
> > Niko Sams, 08.06.2010:
> >> Hi,
> >> 
> >> Milian started on Php 5.3 support (yay!) and that arises one question:
> >> should it be configurable? (ie. a project setting that
> >> enables/disables 5.3 features)
> >> 
> >> what do you think?
> > 
> > I'm for a "no, it shouldn't".
> > 
> > We should support the newest version and be done with it. And looking at
> > the features, I don't see any that change existing behavior. Sure, you
> > won't get an error if you run PHp < 5.3 and use some advanced feature,
> > but then again: Why cares ;-)
> > 
> > Making it configurable is just more work where I don't see any real
> > value.
> 
> Well, there are people (like me :D) that don't use 5.3 yet. And it would be
> nice to get correct errors when using 5.3 features.

But if you don't write 5.3 code you won't see any errors :P And I don't plan 
to add intrusive assistants or code completion that enforce 5.3 features on 
you. Only the parser should work with 5.3 code. And if you use 5.3 code you 
should get all the bells and whistles.

> But I see that it makes the parser more complicated, so I'm fine with not
> having it configurable.

I'll leave it as is for now until someone comes up with a proper usecase that 
shows problems with it :P

Bye

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100609/5a732a88/attachment.sig>


More information about the KDevelop-devel mailing list