Question about kdev-php

Milian Wolff mail at milianw.de
Sun May 12 11:23:35 UTC 2013


On Sunday 12 May 2013 11:14:33 Heinz Wiesinger wrote:
> Hi Milian,
> 
> I started looking into adding missing syntax support for PHP 5.4/5.5 to
> kdev- php. I already filed a review request for the short array syntax
> introduced in 5.4 and have working support locally for function array
> dereferencing and array literal dereferencing.

Jup looks good - thanks for that. Just add a unit test and I'll happily merge 
it.

> I'm a bit stuck now trying to implement string literal dereferencing. I have
> it working partially (for double quoted strings with variables) but for
> full support I need to distinguish between code like
> 
> echo "string"[1];
> 
> and
> 
> echo true[1];
> 
> What I found so far is that both are matched by the CONSTANT_ENCAPSED_STRING
> token in the commonScalar rule. But didn't find anything about how this
> token is handled. Would appreciate some input :)

I'm not into PHP anymore, so I don't really know the feature you are talking 
about. Could you share a link to the specification?

Furthermore I'm swamped by work currently and can't really help you. But maybe 
Niko could take a look. Otherwise please ping me again in about two months.

Cheers and good luck

-- 
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/20130512/a877982e/attachment.sig>


More information about the KDevelop-devel mailing list