When casting a Boolean into string, it gets the value "1" or "".
When casting NULL into string, it gets the value "".
string(1) "5" string(4) "5.34" string(5) "hello" string(1) "1" string(0) ""