3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(8 >> 64, PHP_INT_SIZE, sprintf('%64b', 8));
based on 5eJEv
Output for 7.0.0 - 7.1.0
int(0) int(8) string(64) " 1000"
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.6.21
int(8) int(8) string(64) " 1000"
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
Notice: Use of undefined constant PHP_INT_SIZE - assumed 'PHP_INT_SIZE' in /in/TemRV on line 4 int(8) string(12) "PHP_INT_SIZE" string(64) " 1000"