3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = array(); if (empty($test)) { echo 'OK'; } else { echo 'NOT OK'; }
based on nmhiv
Output for 4.3.0 - 7.2.0
OK