3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( ~1, ~1.1, ~'Test', ~"1e1", ~null );
Output for 4.3.2 - 5.5.6
Fatal error: Unsupported operand types in /in/YXf57 on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Unsupported operand types in /in/YXf57 on line 8