0 Answer
  • 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 190

Backtrace:

File: /home/stackhow/public_html/application/views/question.php
Line: 190
Function: _error_handler

File: /home/stackhow/public_html/application/controllers/Questions.php
Line: 420
Function: view

File: /home/stackhow/public_html/index.php
Line: 317
Function: require_once

name Punditsdkoslkdosdkoskdo

if文について質問です

var stringValue : String? = "hogehoge" // Optional型
var ret = stringValue ? "a" : "b" // ret = "a"
stringValue = nil
var ret2 = stringValue ? "a" : "b" // ret = "b"