20,741
edits
m (add a vector based approach) |
|||
| Line 184: | Line 184: | ||
== A hash based version == | == A hash based version == | ||
Now, to wrap these fields into a single variable that serves as the container for other variables, we could use a Nasal hash. Consider the following empty hash: | Now, to wrap these fields into a single variable that serves as the container for other variables, we could use a Nasal hash and start completely from scratch. | ||
Consider the following empty hash: | |||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||