Skip to content

Instantly share code, notes, and snippets.

@brrd
Last active January 21, 2022 15:01
Show Gist options
  • Save brrd/12be4fc02b8156f6b558fc9548e2f133 to your computer and use it in GitHub Desktop.
Save brrd/12be4fc02b8156f6b558fc9548e2f133 to your computer and use it in GitHub Desktop.
Arrays dynamiques LodelScript
TEST <br>
<LET ARRAY="test"></LET>
<LET ARRAY="test.foo">bar</LET>
<LET VAR="lorem">baz</LET>
<LET ARRAY="test.#LOREM">ispum</LET>
res: [#TEST.FOO] - [#TEST.#LOREM] - [#TEST.BAZ]<br>
[#TEST|var_dump]
// TEST
// res: bar - ispum - ispum
// array(2) { ["foo"]=> string(3) "bar" ["baz"]=> string(5) "ispum"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment