3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $uid = 'sjdkjasdkgj'; $tokenheader = 1 << 8; $tokenheader |= 1 << 4; $tokenheader |= strlen($uid); var_dump($tokenheader,decbin($tokenheader),strlen($uid));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(283) string(9) "100011011" int(11)