0+$foo == $bar # guarantee numerical equality "$foo" == $bar # guarantee string equality $foo == $bar # it depends...