この問題は少し奇妙です。送信された値がnullの場合、なぜ「Is notnull」と表示されるのですか?その理由は何ですか?
Parametersapplication/x-www-form-urlencoded
lists_owned null
Source
lists_owned=null
<?php
$lists_owned = $_POST['lists_owned'];
var_dump($lists_owned); // string(4) "null"
if(!is_null($_POST['lists_owned'])) {
echo "Is not null"; I see this echo
}
?>
ありがとう