Correct use of in_array()

前端 未结 0 1778
隐瞒了意图╮
隐瞒了意图╮ 2020-12-28 10:54

My current code is looking like that:

if ( in_array($country, [\'US\',\'GB\'], true ) ) {
$time = time();
} else {
$time = time() + $d;
}

Is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题