Volt isset

Is it possible to check variable with isset? I'm setting variable success and check it '{% if isset success %}{% endif %}.. All i get is 'PhalconException: Syntax error, unexpected token IDENTIFIER'.. http://docs.phalconphp.com/en/0.9.0/reference/volt.html#other-operators

Same here. :)



84.5k

It seems the docs are wrong, it must be:

{% if success is defined %}
    {{ "yes, it's defined" }}
{% endif %}


3.6k

Thanks. :)