src/Core.php
/**
     * Generates a string 'True' or 'False' based on whether the value passed 
     * in. This will consider string 0 or a 0 integer as 'false' values.
     * @param mixed input - the input variable to decide whether to output true 
     *                      or false on.
     * @return string - "True" or "False"
     */
Generates a string 'True' or 'False' based on whether the value passed
in. This will consider string 0 or a 0 integer as 'false' values.
@param mixed input - the input variable to decide whether to output true
or false on.
@return string - "True" or "False"
Generates a string ' True ' or ' False ' based on whether the value passed in . This will consider string 0 or a 0 integer as ' false ' values . @param mixed input - the input variable to decide whether to output true or false on . @return string - " True " or " False "
public static function generateTrueFalseString($input)
    {
        $result = 'True';
        if ($input == "0" || $input == 0 || $input == false)
        {
            $result = 'False';
        }
        return $result;
    }
public static function generateTrueFalseString ( $ input ) { $ result = 'True' ; if ( $ input == " 0 " || $ input == 0 || $ input == false ) { $ result = 'False' ; } return $ result ; }
Generates a string 'True' or 'False' based on whether the value passed
 in.
Generates a string ' True ' or ' False ' based on whether the value passed in .