3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo -1 & ~(1<<(8*PHP_INT_SIZE-1)>>(0-1));
based on RfFqR
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught ArithmeticError: Bit shift by negative number in /in/v7Kvm:3 Stack trace: #0 {main} thrown in /in/v7Kvm on line 3
Process exited with code 255.
Output for 5.3.20 - 5.6.28
0