3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $b = 0; if (0 === 'UNLOCKED') { echo "U\n"; } else { echo "D\n"; }
based on EdacT
Output for 4.3.0 - 7.1.0
D