3v4l.org

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