4.2.4. Array To Bracket

This cobbler updates the array() syntax, and changes it to the bracket syntax.

4.2.4.1. Before

<?php
$a = array(1, 2, 3);
?>

4.2.4.2. After

<?php
$a = [1, 2, 3];
?>

4.2.4.3. Specs

Short Name

Structures/ArrayToBracket

Exakat version

2.3.0

Available in

Entreprise Edition, Exakat Cloud