3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b |= $a; var_dump($a, $b);
based on nrUiR
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: b in /in/B2H9R on line 4 int(1) int(1)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: b in /in/B2H9R on line 4 int(1) int(1)