Closed KrYpTeD974 closed 8 years ago
I'm trying to use a XOR condition like this :
{if $cond_a xor $cond_b} {$foo = 'foo'} {/if}
but I get a T_CONSTANT_ENCAPSED_STRING
The documentation says about the IF : Conditional block, the syntax is very similar to the php one, allowing () || && and other php operators. So i guess there's an issue. I use PHP 5.3.3
Operator xor and ^ have been added to 1.3.0 release who is steel in development status.
xor
^
Also planned for 1.2.x, see issues: https://gitlab.com/dwooproject/dwoo/issues
I'm trying to use a XOR condition like this :
but I get a T_CONSTANT_ENCAPSED_STRING
The documentation says about the IF : Conditional block, the syntax is very similar to the php one, allowing () || && and other php operators. So i guess there's an issue. I use PHP 5.3.3