3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = (bool) ($options['return'] ?? null); var_dump($x);
based on 3eQg4
Output for hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
bool(false)
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected '?' in /in/8YI4i on line 3
Process exited with code 255.