[CentOS] L9 - what is a value

2011-10-17 Thread Jussi Hirvi
This code: var('i') = string; boolean($i); ''; var('i') = array; boolean($i); ''; 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 ___ CentOS mail

[CentOS] L9 - what is a value

2011-10-17 Thread Jussi Hirvi
This code: var('i') = string; boolean($i); ''; var('i') = array; boolean($i); ''; 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? This has consequences which I think are counterintuitive: var('i') =