mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
made a small update to doc and rename a test file
This commit is contained in:
@@ -1246,7 +1246,7 @@ variable:
|
||||
the foo attribute really is the `false` PHP value
|
||||
{% endif %}
|
||||
|
||||
### `constant`
|
||||
### `constant` (new in Twig 0.9.9)
|
||||
|
||||
`constant` checks if a variable has the exact same value as a constant. You
|
||||
can use either global constants or class constants:
|
||||
|
||||
Reference in New Issue
Block a user