Review Request 110374: Add support for php 5.4's short array syntax.

Heinz Wiesinger hmwiesinger at liwjatan.at
Thu May 9 15:59:28 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110374/
-----------------------------------------------------------

Review request for KDevelop.


Description
-------

A first step towards support for the new syntax features introduced in PHP 5.4.
This implements parsing support for the short (json-style) array syntax where one can rewrite

$var = array( "key" => "value" );

as

$var = [ "key" => "value" ];


This addresses bug 305779.
    http://bugs.kde.org/show_bug.cgi?id=305779


Diffs
-----

  parser/php.g ad60514c22795cbc1aa16a7fc8de2ea696859487 

Diff: http://git.reviewboard.kde.org/r/110374/diff/


Testing
-------

I tested this locally with kdevplatform 1.5.0 and kdevelop 4.5.0.


Thanks,

Heinz Wiesinger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130509/f4085800/attachment.html>


More information about the KDevelop-devel mailing list