我通过post方法发送x= false;布尔值。Request::post['x']或$_POST['x']将获取布尔型false作为值还是获取null值?
x= false;
Request::post['x']
$_POST['x']
false
null
如果我尝试(!isset($_POST['x'] )),它会给我true。但我不明白为什么。
(!isset($_POST['x'] ))
true
https://stackoverflow.com/questions/51975349
相似问题