ä»ã¾ã§PHPã§ã¯é åãæ¸ãã®ã«array()ã¨ããè¨æ³ã使ãå¿ è¦ããã£ãããPHP5.4ã®ãªãã¸ããªã«æ°ããé åã®ææ³ã追å ãããã[]ã§å²ããã¨ã§é åã表ç¾ãããã¨ãã§ããããã«ãªã£ã¦ãããé£æ³é åã«ã¤ãã¦ãåæ§ã add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays, 2nd solution using => only http://svn.php.net/viewvc?view=revision&revision=313641 以ä¸ãé åã®æ°ããææ³ã«é¢ãããã¹ãã±ã¼ã¹ãå¼ç¨ã --TEST-- Testing array shortcut and bracket operator --FILE-- <?php $a = [1, 2, 3, 4, 5]; print_r(
{{#tags}}- {{label}}
{{/tags}}