Parsed: 112114

  public static function is_writable ($filename) {
    $ret = is_writable($filename);
    if (!$ret) {
      $perms = fileperms($filename);
      $ret = ($perms & 0x0080) || ($perms & 0x0010) || ($perms & 0x0002);
    }
    return $ret;
  }