Is there a way to find out my installed version of Twig?
Something like
<p>The current version is {% twig.version %}</p>
(although I know that's not even close to being right).
Try it:
<p>The current version is {{ constant('Twig_Environment::VERSION') }}</p>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With