src/IniWriter.php
private function encode($value)
    {
        if ($value === true)
            $value = "true";
        else if ($value === false)
            $value = "false";
        else if (is_string($value))
            $value = "\"$value\"";
        return $value;
    }
private function encode($value)
    {
        if ($value === true)
            $value = "true";
        else if ($value === false)
            $value = "false";
        else if (is_string($value))
            $value = "\"$value\"";
        return $value;
    }
private function encode ( $ value ) { if ( $ value === true ) $ value = "true" ; else if ( $ value === false ) $ value = "false" ; else if ( is_string ( $ value ) ) $ value = "\"$value\"" ; return $ value ; }
Encode value.
@param mixed $value
@return string
Encode value .