Note that when casting a Boolean into string it gets the value "1", and when casting NULL into string it is converted into an empty string "".
string(1) "5" string(4) "5.34" string(5) "hello" string(1) "1" string(0) ""