made a small update to doc and rename a test file

This commit is contained in:
Fabien Potencier
2010-09-12 08:01:34 +02:00
parent 1cf01ce927
commit 5a354ea859
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -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: