3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = '00'; if (empty($t) && $t !== '0') { print('EMPTY'); } else { print('NOT E'); }
based on LJhbj
Output for 4.3.0 - 7.2.0
NOT E