3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = NULL; var_dump(isset($a)); $b = FALSE; var_dump(isset($b)); $d = 1; $e = $a ?? $b ?? $c ?? $d; var_dump($e);
based on AIcrJ
Output for 7.0.0 - 7.2.0
bool(false) bool(true) bool(false)
Output for 5.3.21 - 5.6.28
Parse error: syntax error, unexpected '?' in /in/hapOc on line 7
Process exited with code 255.