1--TEST-- 2Bitwise or assign with referenced value 3--FILE-- 4<?php 5 6$num1 = 1; 7$num2 = '2'; 8$ref =& $num2; 9$num1 |= $num2; 10var_dump($num1); 11 12?> 13--EXPECT-- 14int(3) 15