Revision bab6bf2...

Go back to digest for 21st July 2013

Features in Development Tools

Milian Wolff committed changes in [kdev-php] /:

Add support for php 5.4's short array syntax.

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" ];


REVIEW: 110374

File Changes

Modified 3 files
  •   parser/php.g
  •   duchain/tests/expressionparser.cpp
  •   duchain/tests/expressionparser.h
3 files changed in total