0+$foo | $bar # guarantee numerical bitwise or "$foo" | $bar # guarantee string bitwise or $foo | $bar # ... it depends