Since I have not seen it posted.Here is a function that you can use if you have a need to force strict boolean values.Hopefully this will save someone some time from searching for similar.<?phpfunction strictBool($val=false){ return is_integer($val)?false:$val == 1;}?>Simply put, it verifies that the value passed is (bool)true otherwise it is false.Examples:__________________________________<?php$my