最佳答案
Is there a function for switching/inverting boolean
value in PHP?
Like... a shortcut for:
if($boolean === true){
$boolean = false;
}else{
$boolean = true;
}