3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = $a ?: 'Not Empty'; echo $b;
based on ldCGR
Output for 5.3.22 - 7.3.0rc3
1