http://qs321.pair.com?node_id=1231751


in reply to Counter Intuitive Code

Just wrap $x in int()?

$or |= $x ; #change to => $or |= int($x);