3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = " "; if (empty($str)) { print 'expected'; } else { print 'not expected'; }
based on HicoW
Output for 5.5.0 - 7.3.0rc3
not expected