This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
配列が存在し、値が含まれていないかどうかを検証するショートカットは何ですか?
何らかの理由で、これは奇妙に見えます
$warning = array();
if (isset($warning) && empty($warning)) {
//go on...
} else {
//either the array doesn't exist or it exist but contains values...
}