Code: Select all
$lang = array_merge($lang, [
[...]
]);
Code: Select all
$lang = array_merge($lang, array(
[...]
));
Code: Select all
$lang = array_merge($lang, [
[...]
]);
Code: Select all
$lang = array_merge($lang, array(
[...]
));
Code: Select all
'CLI_USER_RECLEAN_DONE' => [
0 => 'Re-cleaning complete. No usernames needed to be cleaned.',
1 => 'Re-cleaning complete. %d username was cleaned.',
2 => 'Re-cleaning complete. %d usernames were cleaned.',
],
They're all throughout phpbb core, you'll find. IIRC if you want an actual reason, it's because using array() was part of phpbb's coding standard, and that has since changed to []. array() is changed to [] in newer code but is left in the older code.