- );
-
- $variantfallbacks = array(
- 'zh' => array( 'zh-hans', 'zh-hant', 'zh-cn', 'zh-tw', 'zh-hk', 'zh-sg', 'zh-mo', 'zh-my' ),
- 'zh-hans' => array( 'zh-cn', 'zh-sg', 'zh-my' ),
- 'zh-hant' => array( 'zh-tw', 'zh-hk', 'zh-mo' ),
- 'zh-cn' => array( 'zh-hans', 'zh-sg', 'zh-my' ),
- 'zh-sg' => array( 'zh-hans', 'zh-cn', 'zh-my' ),
- 'zh-my' => array( 'zh-hans', 'zh-sg', 'zh-cn' ),
- 'zh-tw' => array( 'zh-hant', 'zh-hk', 'zh-mo' ),
- 'zh-hk' => array( 'zh-hant', 'zh-mo', 'zh-tw' ),
- 'zh-mo' => array( 'zh-hant', 'zh-hk', 'zh-tw' ),
- );
- $ml = array(
+ ];
+
+ $variantfallbacks = [
+ 'zh' => [ 'zh-hans', 'zh-hant', 'zh-cn', 'zh-tw', 'zh-hk', 'zh-sg', 'zh-mo', 'zh-my' ],
+ 'zh-hans' => [ 'zh-cn', 'zh-sg', 'zh-my' ],
+ 'zh-hant' => [ 'zh-tw', 'zh-hk', 'zh-mo' ],
+ 'zh-cn' => [ 'zh-hans', 'zh-sg', 'zh-my' ],
+ 'zh-sg' => [ 'zh-hans', 'zh-cn', 'zh-my' ],
+ 'zh-my' => [ 'zh-hans', 'zh-sg', 'zh-cn' ],
+ 'zh-tw' => [ 'zh-hant', 'zh-hk', 'zh-mo' ],
+ 'zh-hk' => [ 'zh-hant', 'zh-mo', 'zh-tw' ],
+ 'zh-mo' => [ 'zh-hant', 'zh-hk', 'zh-tw' ],
+ ];
+ $ml = [