neptuo / is4wfw

PHP based CMS with multi domain support, virtual file system, library for team-sport fixtures and statistics, and many other features.
http://is4wfw.neptuo.com
Apache License 2.0
1 stars 0 forks source link

Local variables or user defined scope #526

Closed maraf closed 7 months ago

maraf commented 8 months ago

Narrow scope for variables

Or manually by using var:scope. It will act as a new scope when reading/writing variables. We could even named them and use them in multiple places theoretically. We can also nest scopes


<var:scope>
    All properties set here will be "unset" at the of tag
</var:scope>
maraf commented 7 months ago

Going with the user defined scopes without names for now