3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 2<<1 . "\n"; echo 2<<2 . "\n"; echo 2<<3 . "\n";
based on 182Js
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/F7GVf on line 3 4 Notice: A non well formed numeric value encountered in /in/F7GVf on line 4 8 Notice: A non well formed numeric value encountered in /in/F7GVf on line 5 16
Output for 5.3.19 - 7.0.20
4816