$check1 = 45;
$check2 = 45;
$check3 = 55;
if ($check1 == $check2){ //in this statment we check only variable values
echo "both are equal";
if ($check3>$check2){
echo "Check 3 is greater than check2";
}
}else{
echo "Both are not equal";
}
echo "<br/>";
if (5 === 5.0){ //here we check both variable values and its data type
echo "it is equal";
}else{
echo "not equal";
}
$points = 10;
$points++;
$points++;
$points++;
echo $points; // 13
$points--;
$points--;
$points--;
$points--;
$points--;
echo $points; // 8;