Timeline for Language switch based on parameters and session state
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 2, 2019 at 15:31 | history | edited | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 4.0 |
added 119 characters in body
|
Apr 2, 2019 at 10:48 | comment | added | Script47 |
@Ogum the alternative name for it is the 'isset ternary` because of what it does, it is essentially performing an isset check without the need for the true condition.
|
|
Apr 2, 2019 at 10:28 | history | edited | mickmackusa | CC BY-SA 4.0 |
deleted 39 characters in body; added 150 characters in body
|
Apr 2, 2019 at 10:20 | history | edited | mickmackusa | CC BY-SA 4.0 |
added 76 characters in body
|
Apr 2, 2019 at 10:00 | vote | accept | Ogum | ||
Apr 2, 2019 at 9:39 | comment | added | mickmackusa | I've update my answer to provide a null coalescing operator replacement. | |
Apr 2, 2019 at 9:38 | history | edited | mickmackusa | CC BY-SA 4.0 |
added 192 characters in body
|
Apr 2, 2019 at 9:29 | comment | added | Ogum | I don't really know this type of operator: ??. i have a parse error unexpected '?' on $_SESSION['lang'] = $langs[$lang] ?? $defaultLang; | |
Apr 2, 2019 at 9:03 | history | answered | mickmackusa | CC BY-SA 4.0 |