3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'IS_NOT_EMPTY'; $array = explode(',',$string); if(in_array('IS_NOT_EMPTY',$array)){ echo 'test'; } echo '<pre>'.print_r($array,true).'</pre>'; ?>
based on c2rhH
Output for 4.3.0 - 7.2.0
test<pre>Array ( [0] => IS_NOT_EMPTY ) </pre>