3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(0 ?: 'hi'); var_dump(null ?? 'hi'); var_dump('' ?? 'hi');
based on J6Z6H
Output for 7.1.25 - 7.3.2
string(2) "hi" string(2) "hi" string(0) ""