[MediaWiki-l] Re: array syntax

2023-02-13 Thread Brian Wolff
Yes its fine to use long array syntax. Are the error messages suggesting that the syntax is wrong? -- Brian On Monday, February 13, 2023, wrote: > Hello, > > I have some array declarations in my LocalSettings.php from many years ago > that I am worried may not be compatible with PHP 8+. When

[MediaWiki-l] Re: array syntax

2023-02-13 Thread Benjamin Lees
Hi Roger, that's still the syntax. What are the errors you're getting? On Tue, Feb 14, 2023 at 12:15 AM wrote: > Hello, > > I have some array declarations in my LocalSettings.php from many years ago > that I am worried may not be compatible with PHP 8+. When I try to run >

[MediaWiki-l] array syntax

2023-02-13 Thread rogerchrisman
Hello, I have some array declarations in my LocalSettings.php from many years ago that I am worried may not be compatible with PHP 8+. When I try to run /maintenance/update.php in PHP 8.1 I get errors. It runs fine in PHP 7.4.3, fortunately. However, is it okay to set arrays like this in PHP 8+?: