3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 1 | 2 . "\n"; echo 1 & 2 . "\n"; echo 1 ^ 2 . "\n"; echo 1 << 2 . "\n";
based on 7h1Ed
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/8rWfC on line 2 3 Notice: A non well formed numeric value encountered in /in/8rWfC on line 3 0 Notice: A non well formed numeric value encountered in /in/8rWfC on line 4 3 Notice: A non well formed numeric value encountered in /in/8rWfC on line 5 4
Output for 5.3.20 - 7.0.20
3034