Hi,

I'm trying to differentiate an inexistant key of an array from an
existant one with 0 as value.

An example will explain it better:
{% set test = { 'ok' : 0 } %} {{ test.ok is defined ? 'ok' : 'ko' }
outputs: ko

>From my understanding of the documentation, it should return 'ok'. Did
i get it wrong?

-- 
Vincent

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to