3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? ~$x;
based on ImGFP
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: x in /in/7l3FN on line 2 Fatal error: Uncaught Error: Unsupported operand types in /in/7l3FN:2 Stack trace: #0 {main} thrown in /in/7l3FN on line 2
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Notice: Undefined variable: x in /in/7l3FN on line 2 Fatal error: Unsupported operand types in /in/7l3FN on line 2
Process exited with code 255.
Output for 5.3.21 - 5.3.29
<? ~$x;