3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $X = 1; $Y = 0; $result = $X / $Y ?? 0;
Output for hhvm-3.15.4, 7.0.0 - 7.2.6
Warning: Division by zero in /in/5vK6e on line 6
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected '?' in /in/5vK6e on line 6
Process exited with code 255.