![]() |
const arrays
We can do things like:
PHP Code:
PHP Code:
|
Might be able to do
PHP Code:
|
Quote:
|
I approve.
|
Maybe constant arrays can be added at the same time as protected variables ^^.
|
To be efficient the const arrays would need to be like normal variables, similar like they are in most languages (only the compiler complains when you access a variable marked as const). It is not planned yet to add that, it's different to the normal const and enums.
|
| All times are GMT +2. The time now is 12:24 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.