3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = "hello"; $x += 1; function greet() { echo "Hello!"; } greet();
based on 8XERC
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/J1YaR on line 4 Hello!
Output for 5.3.21 - 7.0.20
Hello!