This code:
var('i') = string;
boolean($i); '<br>';
var('i') = array;
boolean($i); '<br>';
gives:
> false
> true
So an empty array gives "true" but an empty string "false".
This is different from L8. Is this intentional? If so, why?
- Jussi
Mon Oct 17 12:04:28 UTC 2011
Jussi Hirvi <listmember at greenspot.fi>
This code:
var('i') = string;
boolean($i); '<br>';
var('i') = array;
boolean($i); '<br>';
gives:
> false
> true
So an empty array gives "true" but an empty string "false".
This is different from L8. Is this intentional? If so, why?
- Jussi