3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $byte1 = "\xf0"; $byte2 = $byte1 >> 1; var_dump($byte1, bin2hex($byte1), $byte2, bin2hex($byte2));
Output for 7.1.0
Warning: A non-numeric value encountered in /in/J0aVl on line 4 string(1) "�" string(2) "f0" int(0) string(2) "30"
Output for 4.3.0 - 7.0.14
string(1) "�" string(2) "f0" int(0) string(2) "30"