3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = 0; if(isset($value) && $value != "") { echo "Field not required"; } else { echo "Field required"; }
based on Ko3Yf
Output for 4.3.0 - 7.1.7
Field required