I've run across a weird issue with comparison operators.
On my localhost this code runs fine:
$variable = 2;
if($variable == 2){
echo 'hi';
}
if($variable == '2b'){
echo 'bye';
}
//returns 'hi'
But on my server, it returns 'bye', unless I use the strict (===) operator.
Is there any way to change this so my server also returns 'hi'?