public static function getBooleanStrings(bool $state = null): array
    {
        $strings = [
            false => ['', '0', 'false', 'no', 'off'],
            true => ['1', 'true', 'yes', 'on']
        ];
        
        return isset($state) ? $strings[$state] : array_merge($strings[false], $strings[true]);
    }
public static function getBooleanStrings(bool $state = null): array
    {
        $strings = [
            false => ['', '0', 'false', 'no', 'off'],
            true => ['1', 'true', 'yes', 'on']
        ];
        
        return isset($state) ? $strings[$state] : array_merge($strings[false], $strings[true]);
    }
public static function getBooleanStrings ( bool $ state = null ) : array { $ strings = [ false => [ '' , '0' , 'false' , 'no' , 'off' ] , true => [ '1' , 'true' , 'yes' , 'on' ] ] ; return isset ( $ state ) ? $ strings [ $ state ] : array_merge ( $ strings [ false ] , $ strings [ true ] ) ; }
Get strings that represent true or false

@param bool $state
@return array
Get strings that represent true or false