if ($_POST['foo']) {
// bar
}
이 (빠르고 간단)이 코드는 정확히 무엇을하고 있습니까?
또는
이 그 것들의 조합을 말하고,또는
이이... if the $_POST['foo'] variable is not null...
을 말하고,
또는
이이... if the $_POST['foo'] variable isset...
을 말하고,
...if the $_POST['foo'] variable is a boolean, and is true...
말인가요? 아니면 완전히 다른 것을 말하는 것입니까?
부울 비교 : http://nz1.php.net/manual/en/types.comparisons.php 여기
은 PHP 문서 (http://ca3.php.net/manual/en/language.types.boolean.php)에서, 몇 가지 예 –