Possible values for boolean variables are “1” and “0”
(meaning “TRUE” and “FALSE”).
Everything else is evaluated to one of these values by PHP:
Non-empty strings (except “0” [zero]) are treated as “TRUE”,
empty strings are evaluated to FALSE.
Examples:
dummy.enable=0# false, preferred notationdummy.enable=1# true, preferred notationdummy.enable=# false, because the value is empty
Comment
Possible values for boolean variables are “1” and “0” (meaning “TRUE” and “FALSE”).
Everything else is evaluated to one of these values by PHP: Non-empty strings (except “0” [zero]) are treated as “TRUE”, empty strings are evaluated to FALSE.
Examples: