3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $id1 = 4; $id2 = null; $id1 |= $id2; var_dump($id1);
Output for 4.3.0 - 7.1.10
int(4)